Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: Perl6 and Extreme Programming

by Jenda (Abbot)
on May 26, 2002 at 22:42 UTC ( #169440=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    sub Map {
    @increased = Map \&foo, (1,2,3);
    print "@increased\n";
  2. or download this
    sub Map {
    $inc = Map \&foo;
    @increased = $inc->(1,2,3);
    print "@increased\n";
  3. or download this
    sub Map {
      my $sub = shift();
        return @new_arr;
  4. or download this
    @incremented = Map(\&foo)->(1,2,3)
  5. or download this
    $Inc = Map(\&foo);
    @incremented = $Inc->(1,2,3)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://169440]
[Jenda]: The apparent design principle of Perl6 operators was "Let's confuse 'em dudes." Whose braindead idea was this particular operator and the three hundred around it?
[liz]: ^10 is just a short way of saying 0..^10, which is a short way of saying 0..9
[liz]: ^N is a very common idiom in Perl 6 to indicate "N times"

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2018-07-16 16:57 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (344 votes). Check out past polls.