I think that the error message is pretty clear here.
Unsuccessful stat on filename containing newline
You're reading the filename from a file. Each record that you read from the file has a newline on the end. You need to remove that before using it.
I'd be interested in hearing ideas on how that error message could be made clearer.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Unsuccessful and Uninitialized Value
by davorg
in thread Unsuccessful and Uninitialized Value
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |