Re: Numeric literals, take 3

[email protected] ("Dave Whipp") Wed, 27 Nov 2002 13:23:26 -0800
Newsgroups perl.perl6.documentation
Organization Fast-Chip inc.
Message-ID <[email protected]>
"Angel Faus" <[email protected]> wrote:
> Alphanumeric digits: Following the common practice,
> perl will interpret the A letter as the digit 10, the B
> letter as digit 11, and so on. Alphanumeric digits are case
> insensitive:
>
>   16#1E3A7              # base 16
>   16:1e3a5              # the same

Should that second example be "0x1e3a5" ?

There doesn't seem much point in supporting two
general-purpose radix indicators.