in reply to Re: Executing text
in thread Executing text

Sounds like you want to learn the eval command in Perl, and might want to take a look at Text::Template.