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 )
In reply to Re^2: File not opening, but no error report
by shmem
in thread File not opening, but no error report
by koolgirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |