![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re^9: Why should any one use/learn Perl 6?by liz (Monsignor) |
on Jun 12, 2018 at 14:05 UTC ( #1216469=note: print w/replies, xml ) | Need Help?? |
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; # 1
In Section
Seekers of Perl Wisdom
|
|