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.

Replies are listed 'Best First'.
Re^3: Is a integer or string.
by FloydATC (Deacon) on May 25, 2009 at 14:56 UTC
    No, int('12ihjlijlij') == 12, which is != '12ijlijlij'... uh.. or not.. Nevermind :o)