Perleval is a little Perl script that works as a terminal-mode calculator. It can evaluate any Perl expression and can handle normal real arithmetic, complex arithmetic, and rational arithmetic. It also displays all integer results in decimal, hexadecimal and binary, making it very useful for computer programmers.
Perleval is Free Software, licensed under the terms of the GNU General Public License, Version 2
Here is a screenshot of Perleval in action.
You can grab Perleval from perleval-1.0.tar.gz. The signature file is perleval-1.0.tar.gz.sig.
Perleval depends on a number of Perl modules, namely:
Perleval is a Perl script (naturally). Installation looks like this:
tar xf perleval-1.0.tar.gz && cd perleval-1.0 && perl Makefile.PL && make && sudo make install
Alas, there is no make test, because Perleval is a quick hack.
To run Perleval, open a terminal window and enter: perleval
At the perl> prompt, enter an expression to evaluate. Enter help for a brief help page.
Copyright © 2023 Dianne Skoll