in reply to Re: File not opening, but no error report
in thread File not opening, but no error report
Yes, but...
The file open should really contain the path as well:foreach my $file ( grep { -f $_ } @files )
...the file test should really contain the path as well ;-)
foreach my $file ( grep { -f "$path/$_" } @files )
|
|---|