in reply to Re: extract only smallest numbers
in thread extract only smallest numbers
Thank you grep, but my problem is exactly on how to compare the numbers.
Assuming, for example, that I have the code:
Assuming, for example, that I have the code:
That is as far as I can go...open FILE, $my_file; while (<FILE>) { $_=~/(.*)\t(.*)/; $name=$1; $code=$2; $hash{$name} = $code; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: extract only smallest numbers
by grep (Monsignor) on Jul 21, 2007 at 21:38 UTC | |
Re^3: extract only smallest numbers
by almut (Canon) on Jul 21, 2007 at 21:23 UTC | |
by oxone (Friar) on Jul 21, 2007 at 21:49 UTC | |
|
In Section
Seekers of Perl Wisdom