Re: Literals, take 2

[email protected] (Jonathan Scott Duff)
Newsgroups perl.perl6.documentation
Message-ID <[email protected]>
On Wed, Nov 13, 2002 at 06:38:08PM +0000, Andrew Wilson wrote:
> On Wed, Nov 13, 2002 at 07:26:06PM +0100, Angel Faus wrote:
> > For example, the integer 30 can be written in hexadecimal base in two 
> > equivalent ways:
> > 
> >   my $x = 16:1D
> >   my $x = 16:1.14
> > 
> > These two representations are incompatible, so writing something like 
> > C<16:D.13> will generate a compile-time error.
> 
> So, can we specify floats in other bases?  

Why would you want to?

-Scott
-- 
Jonathan Scott Duff
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.