in reply to Re^2: Open a directory and recursively process files
in thread Open a directory and recursively process files
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 '..');
|
|---|