[OT] Perl woes
Jonathan Kimmitt
Jonathan.Kimmitt at csr.com
Wed Jan 28 10:56:41 GMT 2009
Whoever said, the primary purpose of a compiler is to check for
errors,
and only if there are no errors, create the code, was most
definitely not talking about Perl.
The next time I use == instead of eq to compare two strings, I
will know to expect it will always
evaluate to true. What other language does this (apart from C,
which would invariably return false)
It would be a trivial matter to return an error or warning if ==
is used for items which aren't numbers
And this is in a language which is praised for its powerful
string handling !
More information about the london.pm
mailing list