Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: What is the best way to compare variables so that different types are non-equal?

by QM (Vicar)
on Jul 21, 2009 at 21:28 UTC ( #782089=note: print w/ replies, xml ) Need Help??


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


Comment on Re: What is the best way to compare variables so that different types are non-equal?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://782089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2015-07-02 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (41 votes), past polls