Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 ( #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
Node Status?
node history
Node Type: note [id://442414]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2015-07-01 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls