Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
No such thing as a small change
 
PerlMonks  

Thoughts on some new operators for perl (6 or 7)

by BigLug (Chaplain)
on Mar 10, 2004 at 05:34 UTC ( #335364=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $highest = 0;
    my $lowest = 1_000_000_000;
    ...
       $highest = $_ if $_ > $highest;
       $lowest = $_ if $_ < $lowest; # was $highest - see update
    }
    
  2. or download this
    my $highest = 0;
    my $lowest; # undef
    ...
       $highest =>> $_;
       $lowest =<< $_;
    }
    
  3. or download this
    my $highest = '';
    my $lowest; # undef
    ...
       $highest eg $_;
       $lowest el $_;
    }
    

Log In?
Username:
Password:

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

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

    April first is:







    Results (492 votes), past polls