opendir(IMD, $directoryOfImages) or die "cannot open $directoryOfImage +s: $!"; @allPictures=<IMD>; @allPictures= grep { $_ ne '.' and $_ ne '..' } readdir IMD; { @allPictures = sort(@allPictures); } closedir IMD;
It reads the files by name. I'd like to know how to read all the files by creation date I am working on tripod.So don't recommend me modules please.
Thanks in advance
20031130 Edit by Corion: Added CODE tags, formatting
In reply to sort by date by mito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |