use utf8; #使用utf8字符集
binmode(STDIN, ':encoding(utf8)'); #使用utf8输入
binmode(STDOUT, ':encoding(utf8)'); #使用utf8输出
binmode(STDERR, ':encoding(utf8)'); #使用utf8输出错误
print 'gbz is good\n'; #使用单引号的字符常量
print "gbz is good\n"; #使用双引号的字符常量
print "\x{2744}"; #双引号的常量自动转义