Welcome to the Monastery | |
PerlMonks |
Re: Perl Script for reading a mathematical expressionby moritz (Cardinal) |
on Jan 29, 2014 at 14:18 UTC ( [id://1072515]=note: print w/replies, xml ) | Need Help?? |
I happen to have written a module that handles the evaluation of expressions without messing with unsafe solutions such as eval: Math::Expression::Evaluator. It does the hard part of the task for you.
In Section
Seekers of Perl Wisdom
|
|