Instead of using opendir/closedir, try using Tie::Dir . The keys of the tied hash are the filenames and the values are the results of the file's `stat`.
In reply to Re: need helping sorting
by DeaconBlues
in thread need helping sorting
by anthracite98
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |