Perl-style comparison operators.

This avoids the PHP problem of weak typing and coercion of operators.
(Python gets around this by requiring str()/int(), but I don't really like that solution.)