in reply to Re^4: sorting hash by value when value is an array ref
in thread sorting hash by value when value is an array ref

If I pass a list of the keys to the template, everything prints out fine. So I'm assuming there must be a problem in my perl script.
  • Comment on Re^5: sorting hash by value when value is an array ref

Replies are listed 'Best First'.
Re^6: sorting hash by value when value is an array ref
by beachguy82 (Novice) on Nov 16, 2004 at 04:24 UTC
    Thank you for you help. As it turned out I had that part of the code in a loop and it was causing the array to be overwritten. Thanks again for your help.
Re^6: sorting hash by value when value is an array ref
by Anonymous Monk on Nov 23, 2004 at 22:10 UTC
    I'm noticing that template toolkit may do some default alphabetical sorting on hashes. This could explain your problem too.