See inline.
Paul Kraus wrote:
This is straight from the camel pg 277.
Unless I misunderstand this then the items with 3 elements should be at
the top not in the middle.
What am I doing wrong?
Can someone break down what the sort statement in this situation is
doing.
References are still confusing the hell out of me.
My code
-------
foreach (sort { @{$count{$b}}<=>{$count{$a}}}keys %count){
^
Are you missing an @ symbol??
if ($#{$count{$_}}>1){
print "$_ = @{$count{$_}}\n";
}
}
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]