in reply to What is the best way to compare variables so that different types are non-equal?
Do you need to compare nodes to nodes (references) only?
If so, can you compare the refs directly with ==? (Maybe this is essentially the same as numifying in another response.)
-QM
--
Quantum Mechanics: The dreams stuff is made of
In Section
Seekers of Perl Wisdom