in reply to Problem sorting hash & assigning to new hash to send to HTML::Template

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.


___________
Eric Hodges
  • Comment on Re: Problem sorting hash & assigning to new hash to send to HTML::Template