Something a bit more high level than readdir and stat to play with, Path::Class–
perl -MPath::Class=dir -le 'print join $/, sort(dir(".")->children)'In reply to Re: How to efficiently parse "ls -a"?
by Your Mother
in thread How to efficiently parse "ls -a"?
by isync
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |