Syntactic Confectionery Delight | |
PerlMonks |
Re: Leading Zeros confound eval() ?by toolic (Bishop) |
on Jul 21, 2015 at 18:54 UTC ( [id://1135697]=note: print w/replies, xml ) | Need Help?? |
Just a guess... in the eval, Perl interprets 016 as an octal number, which equals 14 decimal. 14x10=140 (Scalar value constructors).
In Section
Seekers of Perl Wisdom
|
|