Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: What is the correct definition of False and Null in Perl? [non-decimal strings]

by flexvault (Vicar)
on Oct 09, 2011 at 13:20 UTC ( #930473=note: print w/ replies, xml ) Need Help??


in reply to Re^2: What is the correct definition of False and Null in Perl? [non-decimal strings]
in thread What is the correct definition of False and Null in Perl?

I redid your code, dropping the quotes as:

$a=0x10; ++$a; print "$a\n";

And the result was 17 (perl5.10.1 and perl5.12.2), which I think was what you wanted.

P.S. I am amazed how many good comments have come from this question and the PM answers.

Thank you

"Well done is better than well said." - Benjamin Franklin


Comment on Re^3: What is the correct definition of False and Null in Perl? [non-decimal strings]
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-04-19 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls