Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://628034]
[LanX]: ha ... just read an article saying that some US presidents in the past lost their nuclear codes
[LanX]: xD
[Corion]: The code is 00000000, as always, no?
[GotToBTru]: I remember hearing about somebody misplacing a list of code phrases or something
[marto]: 12345
[GotToBTru]: the "nuclear codes" are in the case cuffed to the wrist of some guy
[LanX]: not always

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2017-01-20 12:39 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (174 votes). Check out past polls.