in reply to Re: Re: Re: How'd they do that...proportional horz. bars in poll results...
in thread How'd they do that...proportional horz. bars in poll results...
in the above code to:foreach my $key (keys(%$results)) {
If you have a ton of results, this may be inefficient, and may want to use a Schwartzian transform instead. But it sounds like maybe you don't have to worry about that.foreach my $key (sort {$results->{$b} <=> $results{$a}} keys %$results +) {
|
|---|