Ouch. Right. That would probably be more important than error checking. How about:
perl -ple'$_=eval||$@||0'
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: Re: Re: Re: Small Calculator!
by sauoq
in thread Small Calculator!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |