http://qs321.pair.com?node_id=11129090


in reply to Simple CLI calculator based on Perl's eval()

You could also just drop into the debugger with perl -de0 and use that. Not as nice in that you've got to prefix things with x EXPR but then again you can do anything valid perl.

(Edit: If you're using bash or zsh for simple arithmetic you could use echo $(( EXPR )) without even involving perl; or you could just swap into your emacs window and use M-x calc . . .)

The cake is a lie.
The cake is a lie.
The cake is a lie.