EB::Expression - Evaluate arithmetic/string expressions



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 the Math::Expression manpage.


AUTHOR

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

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

COPYRIGHT

*** 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.

 EB::Expression - Evaluate arithmetic/string expressions