Jonathan Kimmitt wrote:
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 !
"use strict; use warnings;" perhaps?
Also, would you like someone to help you fix your keyboard? :)
--
Martin A. Brooks | http://www.antibodymx.net/ | Anti-spam & anti-virus
Consultant | mar...@antibodymx.net | filtering. Inoculate
antibodymx.net | m: +447792493388 | your mail system.