Front page | perl.perl6.language |
Postings from October 2001
From: David Nicol
October 11, 2001 13:41
Message ID: 3BC5711D.519B78F@davidnicol.com
RaFaL Pocztarski wrote:
> > First this thread tells me that "123foo" will be 123 in numeric
> > context. Now I find myself wondering what "123indigo" evaluates
> > to!
Also 123. I think that complex numbers, if happening automatically,
would only match
($realpart, $imaginarypart) = /^\b(\d*\.?\d+)\+(\d*\.?\d+)i\b/
and "123indigo" does not match that.
David Nicol 816.235.1187