Because the following has different return values:

beta > alpha (is false)
beta gt alpha (is true)

alpha eq alpha (is true)
alpha == alpha (is ... I don't know, undef maybe?)

For || and or, they have different precedence rankings (so you have to adjust your 
bracketing when exchanging them).

- Jan

Paul Kraus wrote:

>I understand that the eq and gt are for string comparisons but why not just
>use the mathematical ones of == or >. This goes for functions open ... or
>compared to open .. ||
-- 
These are my principles and if you don't like them... well, I have others. - Groucho 
Marx

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to