update: I have notice that there is some bug in the module that causes the multikey functionality to corrupt memory in some systems... so don't use it yet!use Sort::Key::Maker sort_pic_names => # define how to extract the keys sub { /^F(\d*)(\w*)/; $1, ($2||"\xff") }, # and their types qw(number string); my @arr = ... ; # and just use the new sorter my @sorted_arr = sort_pic_names @arr;
In reply to Re: Sort Array
by salva
in thread Sort Array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |