Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 scrutinizing the Monastery: (6)
As of 2014-07-12 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (237 votes), past polls