in reply to Sort not acting as expected on Hash Ref
I believe you simply want compare
$foo->{$b} <=> $foo->{$a}
|
MJD says you can't just make shit up and expect the computer to know what you mean, retardo! ** The Third rule of perl club is a statement of fact: pod is sexy. |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Sort not acting as expected on Hash Ref
by pg (Canon) on Jan 01, 2003 at 17:44 UTC |