On Tue, 2002-11-19 at 08:28, Michael Lazzaro wrote: > - floating point becomes allowed in explicit radix (and 0b,0c,0x)
How can one have floating point if "E" is a valid digit? 0x1.0e1 # 1.054931640625 or 16 ? Has any consideration been given to using letters other than a~f in the second position to denote a radix? If we avoid those letters then we can write: use radix 16; and not have to worry about ambiguities like: my $foo = 0c0; # 192 My suggestion would be 0x - heXadecimal 0t - decimal ("Ten") - useful if the current default radix isn't ten 0o - Octal 0q - binary (one bit is one "Question") Though to be honest, I don't see that 0o or 0q are any shorter than 8# and 2#. We might also consider allowing leading-zero and leading-nonzero to have different default radixes, such that: use radix 10,8; would yield the traditional behaviour. -Martin