Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 scrutinizing the Monastery: (15)
As of 2015-05-05 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (120 votes), past polls