Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 about the Monastery: (5)
As of 2014-12-27 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls