more useful options | |
PerlMonks |
Re^2: Argument "" isn't numeric in numeric le (<=)by hotel (Beadle) |
on Aug 24, 2009 at 17:53 UTC ( [id://790879]=note: print w/replies, xml ) | Need Help?? |
Thank you for your comments and replies. I fixed the code after the first message by changing the * to +, and it works fine.
ps: oshall, thank you for your advices. I try to follow most of them when i'm dealing with large files. But I still do not understand why Perl throws this warning for the dashed lines which do not even go into the loop in which the comparison takes place, instead of pointing to the lines that cause the problem?
In Section
Seekers of Perl Wisdom
|
|