Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Chomp a numerical expression, return the answer.by calin (Deacon) |
on May 18, 2006 at 16:14 UTC ( [id://550283]=note: print w/replies, xml ) | Need Help?? |
Check out the modules in Bundle::Math::Expression. They may be safer than a bare eval. DISCLAIMER: I have never used any of these modules and can't vouch on their safety.
In Section
Seekers of Perl Wisdom
|
|