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.

Replies are listed 'Best First'.
Re^2: Simple CLI calculator based on Perl's eval()
by LanX (Saint) on Mar 03, 2021 at 19:54 UTC