Not sure why you're including the value of $! in that error message. It won't contain a value at that point.I thought that, too. I tested it, however, and
$ perl -e '-e q{non-existent} or die $!;' No such file or directory at -e line 1. $
Cheers,
JohnGG
In reply to Re^2: Is this the most elegant way to code directory lookup?
by johngg
in thread Is this the most elegant way to code directory lookup?
by texasperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |