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.";
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (494 votes). Check out past polls.