Just another Perl shrine | |
PerlMonks |
Re: What is the best way to compare variables so that different types are non-equal?by DrHyde (Prior) |
on Jul 20, 2009 at 09:20 UTC ( [id://781574]=note: print w/replies, xml ) | Need Help?? |
'eq' stringifies its arguments before comparing them. I suggest using Data::Compare, which also knows about data types.
In Section
Seekers of Perl Wisdom
|
|