Perleval

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.

License

Perleval is Free Software, licensed under the terms of the GNU General Public License, Version 2

Screenshot

Here is a screenshot of Perleval in action.

Download

You can grab Perleval from perleval-1.0.tar.gz. The signature file is perleval-1.0.tar.gz.sig.

Prerequisites

Perleval depends on a number of Perl modules, namely:

Installing

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.

Running

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 © 2024 Dianne Skoll