laziness, impatience, and hubris | |
PerlMonks |
Re: How do I read files from a folder and place them into a list?by ctilmes (Vicar) |
on Apr 22, 2003 at 15:38 UTC ( [id://252291]=note: print w/replies, xml ) | Need Help?? |
File::Slurp offers a shortcut for the opendir/readdir/closedir
idiom:
Note that File::Slurp::read_dir automatically skips '.' and '..'.
In Section
Seekers of Perl Wisdom
|
|