>>>>> "BR" == Bob Rogers <[EMAIL PROTECTED]> writes:
BR> Even if so, I still don't understand why you want to use eval. If the BR> "command automation templates" are written in Perl, then presumably they BR> could be written as keyword-style sub calls. And if they aren't written BR> in Perl, then how can eval run them? Or maybe you were just relying on BR> the eval to do the substitution? In that case, just do this is called an XY problem. the OP is seeking a solution to his lower level problem (how to use perl vars in external strings) but his real problem is how to interpolate values (from some data source) into a string. it is a basic templating problem but he fixated himself on using real perl variables instead of perl data structures. just to reinforce the point, there is no advantage and many disadvantages to using perl variables in an external string. i won't even begin to list them as there are many (unless i am requested to do so) and they have been written about in many places. uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

