http://www.perlmonks.org?node_id=930473


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