in reply to After i made the script of commenting out lines , it starts to make bugs :S <<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):
open( HAN, $file ) or die "error opening file: $!"; open( HAN, $file ) || die "error opening file: $!"; open HAN, $file or die "error opening file: $!";
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: After i made the script of commenting out lines , it starts to make bugs :S <<HELP!>>
by firewall00 (Acolyte) on Oct 09, 2007 at 08:43 UTC |
In Section
Seekers of Perl Wisdom