The stupid question is the question not asked | |
PerlMonks |
Re: Simple CLI calculator based on Perl's eval()by shmem (Chancellor) |
on Mar 04, 2021 at 10:38 UTC ( [id://11129111]=note: print w/replies, xml ) | Need Help?? |
Nice. Being familiar with forth and thus reverse polnish notation, I use Math::RPN with ~/bin/rpn containing
for ad-hoc calculations.
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In Section
Cool Uses for Perl
|
|