It's also possible you have a trailing newline on your filename. Try:
to clearly see the contents of $file.use Data::Dumper; $Data::Dumper::Useqq=1; print Dumper($file);
In reply to Re: Variable fails where absolute path does not
by ysth
in thread Variable fails where absolute path does not
by DSMcL
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |