in your while loop in the failing example $f is a string with the name of a file in it, you have to open, process and close the file inside the loopperl -e 'opendir DIR, "./";@directory =readdir(DIR);for $entry (@direc +tory){print "$entry\n";}'
In reply to Re^3: processing a lot of files
by Utilitarian
in thread processing a lot of files
by lomSpace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |