in reply to Re: Sorting by the hash value
in thread Sorting by the hash value
Concerning "Sorting by the hash value":
It is difficult to advise you without knowing exactly what
you are trying to do, but if you are trying to print a
sorted list of values couldn't you just:
@keys = keys{%hash}; foreach $key (@keys) { $value = %hash{$key}; push(@values, $value); } sort(@values); print "@values\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Sorting by the hash value
by shotgunefx (Parson) on Jul 29, 2002 at 11:09 UTC | |
by cybear (Monk) on Oct 25, 2002 at 15:17 UTC | |
|
Re: Re: Re: Sorting by the hash value
by Anonymous Monk on Oct 17, 2002 at 22:25 UTC | |
by cybear (Monk) on Oct 25, 2002 at 15:15 UTC |