Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by LanX (Saint)
on Jul 19, 2009 at 22:17 UTC ( [id://781491]=note: print w/replies, xml ) Need Help??


in reply to Re^2: What is the best way to compare variables so that different types are non-equal?
in thread What is the best way to compare variables so that different types are non-equal?

ok ! overload::Overloaded( $rx ), 'Regexp is overloaded'; ok ! overload::Method( $rx, q{""} ), 'Regexp has q{""} overloaded';
I'm confused shouldn't it say "is not" and "has not"?

Cheers Rolf

Replies are listed 'Best First'.
Re^4: What is the best way to compare variables so that different types are non-equal?
by kyle (Abbot) on Jul 20, 2009 at 00:48 UTC

    You're right. I originally wrote the descriptions to match the tests, and then I was surprised when I ran them (they failed). After that, I reversed the tests and forgot to rephrase the descriptions.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-29 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found