NAME

EB::Expression - Evaluate arithmetic/string expressions

SYNOPSIS

use strict;
use EB::Expression;

my $ArithEnv = new EB::Expression;

my $tree = $ArithEnv->Parse('( 1 + 2 ) *3');
...

print $ArithEnv->EvalToScalar($tree);

DESCRIPTION

This is stripped version of Math::Expression.

AUTHOR

Alain D D Williams <addw@phcomp.co.uk> wrote Math::Expression.

Johan Vromans <jvromans@squirrel.nl> stripped it for use by the EekBoek program, see "http://www.squirrel.nl/eekboek".

*** Original Copyright Notice ***

Copyright (c) 2003 Parliament Hill Computers Ltd/Alain D D Williams. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Please see the module source for the full copyright.