Your $dir probably has an extra newline at the end, try chomp @tablea; after reading the dirlist file.
In reply to Re^3: Check if file exists in multiple directories
by hdb
in thread Check if file exists in multiple directories
by Bama_Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |