Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Is a integer or string.

by ikegami (Patriarch)
on May 25, 2009 at 19:32 UTC ( [id://766090]=note: print w/replies, xml ) Need Help??


in reply to Is a integer or string.

my $equal = $x eq $y || eval { use warnings FATAL => qw( numeric ); $x == $y };

Doesn't check if the either of the values are undef

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found