more useful options | |
PerlMonks |
Re: if (open(FH, $path)) { ?by jdporter (Paladin) |
on May 03, 2004 at 14:12 UTC ( [id://350012]=note: print w/replies, xml ) | Need Help?? |
Well, it's fine, but one tweak I would make is to add the $! variable (and maybe the filename) in the error message, e.g.
In Section
Seekers of Perl Wisdom
|
|