Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: extract only smallest numbers

by grep (Monsignor)
on Jul 21, 2007 at 21:38 UTC ( #628034=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
      my ($name, $code) = split(/\t/);
     
    }
    
  2. or download this
      # Still untested
      if ( !defined( $hash{$name} ) ) {
        $hash{$name} = $code;
      } 
    
  3. or download this
      # Still untested
      if ( !defined( $hash{$name} ) or $code < $hash{$name} ) {
        $hash{$name} = $code;
      } 
    

Log In?
Username:
Password:

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

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

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (113 votes), past polls