On Sun, 5 Nov 2006, Phil Pennock wrote:
>
> I just spent 20 minutes trying to debug some Perl I'd just written which
> wasn't working, only to discover that for the first time ever I'd tried
> using an 'x' as a multiplication operator for a computer.  Three times.
> My mind was contaminated with recollections of Real Math.

Of course Perl uses x to multiply strings and * to multiply numbers. Yay
for non-polymorphic operators! Even more fun in O'Caml where integer
arithmetic is + - * / and floating point arithmetic is +. -. *. /. .

Tony.
-- 
f.a.n.finch  <d...@dotat.at>  http://dotat.at/
SOUTHEAST ICELAND: WEST OR SOUTHWEST GALE 8 TO STORM 10 DECREASING 5 TO 7.
VERY ROUGH TO HIGH, OCCASIONALLY VERY HIGH AT FIRST. OCCASIONAL RAIN. MODERATE
OR GOOD.

Reply via email to