Jul 22, 2014, 2:42 AM
Post #1 of 3
Hi Perl Expert,
Executing Expression in Perl Script
Would like to know how can we execute expression in the Perl Script. Below is scenario,
Suppose I have stored express " (A + (B+C)/100) + D)" in the database. I want to fetch this expression and by dynamically replacing A, B, C & D with their values want to execute it.
Summary: My executable expression is stored in database, I want to fetch it replace constant and execute the same in Perl.
How can I achieve the same.