http://www.perlmonks.org?node_id=1216469


in reply to Re^8: Why should any one use/learn Perl 6?
in thread Why should any one use/learn Perl 6?

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.EVAL

or 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; # 1