in reply to
Help with simple calculator script.
Some Super Search digging in our code vaults gives:
The problem with Juerd's is that it offers no error checking. This one does:
$ perl -ple'$_=eval'
$ perl -ple'$_=eval||$@||0'
Illegal division by zero at (eval 1) line 2, <> line 1.
"My two cents aren't worth a dime.";
Results (206 votes),