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
                                            1,3,7-trimethylxanthine

Reply via email to