Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: After i made the script of commenting out lines , it starts to make bugs :S <<HELP!>>by strat (Canon) |
on Oct 08, 2007 at 10:25 UTC ( [id://643435]=note: print w/replies, xml ) | Need Help?? |
open HAN,$file || die "error opening file: $!";
This doesn't do what you expect it to do because || binds stronger than , and so you are executing something like open HAN, ( $file || die ... ) Better use one of the following ways (I recommend the first way):
Best regards,
In Section
Seekers of Perl Wisdom
|
|