Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Is a integer or string.

by akho (Hermit)
on May 25, 2009 at 14:47 UTC ( #766050=note: print w/ replies, xml ) Need Help??


in reply to Re: Is a integer or string.
in thread Is a integer or string.

perl -e "print 'You should not.' if ('12ijlijlij' == int('12ihjlijlij'))"

eq would work, however.


Comment on Re^2: Is a integer or string.
Select or Download Code
Re^3: Is a integer or string.
by FloydATC (Chaplain) on May 25, 2009 at 14:56 UTC
    No, int('12ihjlijlij') == 12, which is != '12ijlijlij'... uh.. or not.. Nevermind :o)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-11-27 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls