The == operator is best for comparing numbers, or for comparing for identical references (references to the same data object). The example here didn't give much to go on.
If $var1 and $var2 are references, the $var1 eq $var2 would also work: it discovers that "HASH(0x804c88c)" eq "HASH(0x804c88c)", but takes the extra time to stringize both sides.
--
[ e d @ h a l l e y . c c ]
In reply to Re: Re: Re: Existing in hash
by halley
in thread Existing in hash
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |