in reply to comparing two values under 'perl -w'

( defined $a and defined $b and $a == $b )
and and or are the same as && and ||, except their precedence is much lower.

don't use $a and $b. they're for sort

~Particle ;Þ

Replies are listed 'Best First'.
Re: Re: comparing two values under 'perl -w'
by kappa (Chaplain) on Apr 02, 2002 at 15:47 UTC
    This one misses the point that two undefs should turn out as equal.