Thank you for trying!
FWIW, there's nothing special about Perl 6 source code: when you run a script foo.pl, it's basically
"foo.pl".IO.slurp.EVALor if you're more procedurally inclined
EVAL slurp "foo.pl"So the source code is handled exactly the same as any other source of text: assumed to be encoded in UTF-8 (by default) and thus normalized using synthetic graphemes if necessary. Also note that CRLF is such a synthetic grapheme
say "\r\n".chars; # 1In reply to Re^9: Why should any one use/learn Perl 6?
by liz
in thread Why should any one use/learn Perl 6?
by skooma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |