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

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

by flexvault (Parson)
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 rifling through the Monastery: (17)
As of 2014-07-22 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (119 votes), past polls