Perl: the Markov chain saw | |
PerlMonks |
sorting filesby steph_bow (Pilgrim) |
on May 29, 2008 at 14:17 UTC ( [id://689020]=perlquestion: print w/replies, xml ) | Need Help?? |
steph_bow has asked for the wisdom of the Perl Monks concerning the following question: Dear Monks I would like to sort fileswhose name are for examples : M3_output_ZGZ22_02_20061022_duration_200mn_comptage_60.txt I have built the following sub routine:
Is that OK ? Thanks
Update: thanks to pisni for correcting my mistake, I just want to order the list by the number 02, 04, 12, not the date (20061022).
Back to
Seekers of Perl Wisdom
|
|