Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1216469]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2019-11-23 01:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (113 votes). Check out past polls.

    Notices?