Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How do I read files from a folder and place them into a list?by chromatic (Archbishop) |
on May 10, 2001 at 00:34 UTC ( [id://79241]=note: print w/replies, xml ) | Need Help?? |
Open the directory with opendir, then call sort on your readdir. You might want to use file tests -X to see if you have only files.
Something like the following may work:
In Section
Seekers of Perl Wisdom
|
|