develooper Front page | perl.perl5.porters | Postings from July 2011

Re: Support for octal literals using 0odd and 0Odd

Thread Previous | Thread Next
Claes Jakobsson
July 1, 2011 11:23
Re: Support for octal literals using 0odd and 0Odd
Message ID:
On 1 jul 2011, at 00.47, Claes Jakobsson wrote:
> Hi,
> perltodo lists that we should support octal literals using 0odddddddd as we support 0xdddddddd for hex. Is there any place besides Perl_scan_num in toke.c, a doc change in pod/perldata.pod and a test in t/base/num.t that needs to be changed?
> I looked at looks_like_number and grok_number but they only seem to look at decimal numbers.

since hex() supports 0x then oct() should support 0o, right? If so please ignore patch as I found a couple of more places that needs changing.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About