in reply to Re^2: Equality operators
in thread Equality operators
When converting strings to numbers, Perl only looks at the start of the string. '1foo' becomes 1 and 'foo1' becomes 0.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|