Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^8: Why should any one use/learn Perl 6?

by jeffenstein (Friar)
on Jun 12, 2018 at 12:53 UTC ( #1216467=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat t.p6
    #!/usr/bin/env perl6
    ...
    
    $ perl6 t.p6
    It Works!
    
  2. or download this
    $ grep \$char t.p6 | od -c
    0000000   m   y       $   c   h   a   r 303 251       =       "   a   
    +s
    0000020   d   f   "   ;  \n   i   f       $   c   h   a   r   e 314 20
    +1
    0000040       {  \n
    0000043
    
  3. or download this
    $ perl6 --target=parse t.p6 | head | grep \$char | od -c
    0000000   m   y       $   c   h   a   r 303 251       =       "   a   
    +s
    ...
    0000060       $   c   h   a   r 303 251       =       "   a   s   d   
    +f
    0000100   "  \n
    0000102
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2021-01-20 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?