techie411 has asked for the wisdom of the Perl Monks concerning the following question:
foreach $key (sort(keys %in)) { print MAIL "\t", $key, " = \t", $in{$key}, "\n"; } close MAIL;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: First Value in hash
by Corion (Patriarch) on Jan 08, 2008 at 09:21 UTC | |
|
Re: First Value in hash
by ysth (Canon) on Jan 08, 2008 at 09:59 UTC | |
|
Re: First Value in hash
by bingos (Vicar) on Jan 08, 2008 at 09:20 UTC | |
|
Re: First Value in hash (List::Util::minstr())
by lodin (Hermit) on Jan 08, 2008 at 11:18 UTC | |
|
Re: First Value in hash
by apl (Monsignor) on Jan 08, 2008 at 10:52 UTC |