go ahead... be a heretic | |
PerlMonks |
Re: Whatever happened to chomp?by Limbic~Region (Chancellor) |
on Dec 14, 2003 at 14:58 UTC ( [id://314640]=note: print w/replies, xml ) | Need Help?? |
zentara,
I am pretty sure this has nothing to do with chomp, but with Perl always trying to DWYM. Reading perldoc perlop I see that == will return true if the two arguments are numerically equal. Consider the following: I am not sure if the behavior is well documented though. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|