in reply to Re: Retriving data from Hash of Hashes
in thread Retriving data from Hash of Hashes
... Simon Cozens' "Hash Crash Course" ...
The code
@popular =
(sort { $histogram{$b} <=> $histogram{$b} } @unique)[0..4];
in the "Counting" section should be
@popular =
(sort { $histogram{$b} <=> $histogram{$a} } @unique)[0..4];
Give a man a fish: <%-(-(-(-<
|
|---|