4.1.4 字串

字串由任何字元所組成,Perl 的字串須以單引號或雙引號括起來:


'John and Marry'
'真的好!'
'12345 大家來跳舞'
'hello world\n'

"中文沒問題"
"hello world\n"