Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 taking refuge in the Monastery: (11)
As of 2014-09-18 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (121 votes), past polls