This gets me tangled up, any suggestions welcome. A way of getting my head round it so can figure it out myself in the future would be most useful :)
I have an array built like so:
push(@array, { entry => [$a, $b, $c] });I want to sort @array by the $b value, which happens to be a time stamp.
I know I could build that array directly as an array of array references but it makes some TemplateToolkit code which uses the data later much harder to read, and could break it too.
In reply to Sorting an array of hash references of array references by nikmit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |