Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 (Hermit) 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 musing on the Monastery: (12)
As of 2014-09-22 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls