in reply to Re: 02.5 == 25 - WTF?
in thread 02.5 == 25 - WTF?
Both operators work though.
prints both == and eq (not that it's surprising either, given perl's seemless conversion between strings and numbers)say '==' if 02.5 == 25; say 'eq' if 02.5 eq 25;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: 02.5 == 25 - WTF?
by syphilis (Archbishop) on Nov 30, 2020 at 23:54 UTC |
In Section
Seekers of Perl Wisdom