"be consistent" | |
PerlMonks |
Is this normalby himik (Acolyte) |
on Jan 06, 2012 at 14:44 UTC ( [id://946606]=perlquestion: print w/replies, xml ) | Need Help?? |
himik has asked for the wisdom of the Perl Monks concerning the following question: Hello. Why this is not returning 0 when the regex is false?
when $a3=~m/3/ every thing is ok, but when it is false it is not parsing 0. And the parameters is 1 less. When i use $a2==3 it parse the 0. Can someone explain it to me?
Back to
Seekers of Perl Wisdom
|
|