Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by flexvault (Prior)
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 meditating upon the Monastery: (5)
As of 2015-07-05 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls