On Mon, 21 Mar 2005 08:41:27 -0800, Larry Wall wrote: > Okay, I've come around to liking it, but I think we have to say that > 0x, 0d, 0o, 0b, and whatever else we come up with are just setting > the default radix. If a string comes in with an explicit 0x, 0d, 0o, > or 0b, we believe that in preference to the operator.
Don't we trust the programmer more than the data? I want this code to produce 4660, 22136, 2832, 3394; not 4660, 22136, 4, 42. for '1234','5678','0b10','0d42' { say 0x $_; } -- Peter Haworth [EMAIL PROTECTED] "It's not a can of worms, it's a tank of shai-hulud." -- Jarkko Hietaniemi