...read a dir and differentiate files and directories?
perldoc -f readdir to read directories.
perldoc -f -X for how to test if it's a file or a directory
Update: added link for -X
Cheers, Sören
In reply to Re: List and identify directories
by Happy-the-monk
in thread List and identify directories
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |