If you read the diagnostic carefully you'll notice it complains about the filename "." which is actually your current working directory. You forgot the line
just prior to the call to the sub. I think I mentioned that a few answers ago...next if ($file eq '.') || ( $file eq '..');
In reply to Re^3: Open a directory and recursively process files
by blue_cowdawg
in thread Open a directory and recursively process files
by Dr Manhattan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |