Say you have an array with numbers and strings...
@array = qw(1 fred);
and you want to sort it by the second element in the array which is a string, how can this be done?
Thanks
In reply to sort an array by an specific element by gitarwmn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |