in reply to Re: Making perl evaluate a variable with a string
in thread Making perl evaluate a variable with a string

Hi again I have a template script for another tool. from the template I want generate many scripts with different numerical values (not only replace $a with 1, but also replace in the template script, $a+5 with 6...) So, I have a template script and a variable definintion file which I call with "require" How best to implement? Sure I can do it with =~s/.../ but if I can use perl to make the sub in a native manner ($var) it will be much stronger. Thx, Nir
  • Comment on Re^2: Making perl evaluate a variable with a string

Replies are listed 'Best First'.
Re^3: Making perl evaluate a variable with a string
by klekker (Pilgrim) on Apr 01, 2007 at 16:20 UTC