@id = sort { $lid->{split(/=/, $a)} cmp $lid->{split(/=/, $b)} } @id;
What does split return in scalar context...
In reply to Re^5: How do I sort an array by hash value?
by ikegami
in thread How do I sort an array by hash value?
by josh097
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |