in reply to Re: Custom Sort Array
in thread Custom Sort Array
foreach (@files) { my $file = $_; print join $/ => map{$_->[0]} sort{$a->[1] <=> $b->[1]} map{[$_,/.+?-(\d+)\..+$/]}$file; print "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Custom Sort Array
by 2teez (Vicar) on Aug 10, 2013 at 20:25 UTC | |
by omegaweaponZ (Beadle) on Aug 10, 2013 at 20:41 UTC | |
by AnomalousMonk (Archbishop) on Aug 10, 2013 at 21:39 UTC | |
by 2teez (Vicar) on Aug 10, 2013 at 21:28 UTC |