in reply to Sorted by date file not working?!
How do you populate the @filelist array? Are you using readdir?
foreach $file (sort by_last_mod @filelist) {push (@sorted,$file);} could more simply be written as: push @sorted, sort by_last_mod @filelist;.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sorted by date file not working?!
by natol44 (Sexton) on Mar 04, 2010 at 10:54 UTC | |
by jwkrahn (Abbot) on Mar 04, 2010 at 15:24 UTC |