Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perl 6 is too complex

by enoch (Chaplain)
on Mar 14, 2003 at 17:45 UTC ( #243130=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @squares := apply { $_ * $_ } 2..5;
    
    ...
    {
        return func($head), apply(&func <== @tail);
    }
    
  2. or download this
    my @squares = apply(sub{$_[0] * $_[0]}, \(2..5));
    
    ...
        my($sub, $refArray) = @_;
        return map {$sub->($_)} @$refArray;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-09-21 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (168 votes), past polls