On Thu Sep 24 21:37:53 2009, BLILBURNE wrote:
Show quoted text> 001 is a valid positive integer which perl will treat correctly, i.e,
>
> 001 + 002 = 3
>
> _POSINT returns undef for string scalars with leading 0 characters, even
> if they are positive integers.
It seems that this is the desired behaviour (see the tests in t/12_main.t). _NONNEGINT also returns undef for string scalars with leading 0 characters and it looks like it is intended that this should be the case. I'm guessing that you probably should use _NUMBER for what you are wanting to do as this explicitly allows string scalars with leading 0 chars.
Given this information would you consider this ticket to be resolved?
Cheers,
Paul