Your sample data is setting all the values to 0 and then you are only pushing onto the arrayref when the value is larger than zero. Try setting some of those to something other than 0 and see what you get.
In reply to Re: Problem sorting hash & assigning to new hash to send to HTML::Template
by eric256
in thread Problem sorting hash & assigning to new hash to send to HTML::Template
by Steny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |