Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Mini HowTo: How to port Perl 5 modules to Perl 6

by iblech (Friar)
on Mar 25, 2005 at 21:29 UTC ( [id://442414]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Perl 5:
    print join "...", map {...} sort {...} @array;
    # Perl 6:
    say (@array.sort:{...} ==> map {...}).join("...");
    
  2. or download this
    class Foo {
      has $.x;
    ...
        # Foo::Bar does *not* directly access the variable.
      }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found