Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> ALWAYS CHECK THE RETURN FROM open ...
The typical idiom for this is,
This also mitigates the need for an -e check for read $mode that expect $file exist, particularly useful inside of an eval block or Try::Tiny construct; so that you can handle it. Update, fixed precedence. Point remains the same. In reply to Re^2: Stuck in Perl.. Partial code, but it needs more improvement.. Any suggestions, please?
by perlfan
|
|