note
Zaxo
<p>[cpan://Math::Expr] does exactly what you want. Release date is 2001-10-01, so it's fairly up to date.</p>
<pre>
NAME
Math::Expr - Parses mathematical expressions<br/>
SYNOPSIS
use Math::Expr;
SetOppDB(new Math::Expr::OpperationDB('<DBFileName>'));
$e=Parse("a+4*b-d/log(s)+f(d,e)");
DESCRIPTION
Parses mathematical expressions into a tree structure. The expressions
may contain integers, real numbers, alphanumeric variable names,
alphanumeric function names and most other characters might be used
as operators...
</pre>
<p>From the pod. That's no reason not to write your own as an exercise :)</p>
<p>After Compline,<br/>Zaxo</p>
144030
144030