Chas. Owens wrote:
On Mon, Nov 17, 2008 at 04:47, Richard Lee <[EMAIL PROTECTED]> wrote:
but it would only be worthwhile if you used $compare a lot after
setting it once; otherwise it would be simpler to just say

sub compare {
        my ($x, $y) = @_;
        
        return looks_like_number($x) ? $x == $y : $x eq $y;
}

Hi Chas,

This is nice and I will try it...

but I am suprised that perl doesn't have neutral equator......

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


Reply via email to