>>>>> "Paul" == Paul Kraus <[EMAIL PROTECTED]> writes:

Paul> I understand that the eq and gt are for string comparisons but why not just
Paul> use the mathematical ones of == or >. This goes for functions open ... or
Paul> compared to open .. ||

Because 3 == 3.0 but "3" ne "3.0"
and 3 < 12 but "3" gt "12".

You'll get differnet results.  Perl needs a hint about which
kind of comparison you want.

print "Just another Perl hacker,"

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
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