Keep in mind that readdir returns both files and all sub-directories, not just the specially-named ones. If you want to filter out all directories, you can use -X.
In reply to Re: This is why Perl is so frustrating
by toolic
in thread This is why Perl is so frustrating
by eggmatters
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |