On Thursday 24 April 2008 20:31, John M. Dlugosz wrote: > That makes me think of another way to confuse people who don't really > know the difference between numbers and strings: > > $x = "-100"; > $x++; > say $x; # prints -101, not -99.
There's plenty of other ways to confuse people too; try $x with "999" or "1.23e9" :-) Cheers, smuj -- smuj ([EMAIL PROTECTED])