in reply to Re: Sorting hash of hash of hash by values
in thread Sorting hash of hash of hash by values
Why does hash{$host}{$batch}{$a}{start} <=> $hash{$host}{$batch}{$b}{start} work when I am not specifying the $run? Is it because Perl puts the two elements it wants to compare (which is the $run) into the special variables $a and $b?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sorting hash of hash of hash by values
by jethro (Monsignor) on Jul 08, 2011 at 08:56 UTC | |
by legendx (Acolyte) on Jul 08, 2011 at 14:47 UTC |