Hi,
I've had a search for this and if I've read the answer anywhere I haven't recognised it as such.
I want to sort a hash by its value...but its value is an array. I want to use the first element in that array for sorting.
i.e. to sort a hash by $hash{$key}[0]
It's possible that this is a stupid thing to do and that's why I can't find anything on it.
Anyway, thanks for reading.
MorayJ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |