Most likely there is other whitespace at the end of your file names. Or maybe the "first" file exists in two places.
Does the script still fail if you have the line with the first, existing file duplicated?
In reply to Re^3: XML::XPath and processing multiple files
by Corion
in thread XML::XPath and processing multiple files
by ATLien
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |