# The following was supposedly scribed by # David Golden # on Monday 28 February 2005 07:07 pm:
>Which would you prefer? > > $ perl -le '$x=1/0; print $x+1' > Illegal division by zero at -e line 1. > >or > > $ perl -le '$x=1/0; print $x+1' > 1 I like the one where you get the mathematically-correct (or at least mathematically-useful) infinity. $perl -le 'use bigint; $x = 1/0; print $x+1' inf $perl -le 'use bigint; $x = 1/0; print 1/$x' 0 --Eric -- "Everything should be made as simple as possible, but no simpler." -- Albert Einstein --------------------------------------------- http://scratchcomputing.com ---------------------------------------------