On Mar 14, 2009, at 5:24 PM, John W. Krahn wrote:

Why not use sprintf() and '/foo/bar/%s/here' as the template:

On Mar 14, 2009, at 5:19 PM, Chas. Owens wrote:

* Search CPAN for template modules until you find one with the
features you want, this one looks fairly close to what you want:
http://search.cpan.org/dist/Text-Template/lib/Text/Template.pm


Thank you both. Good to know about Template.pm. Also good to know the eval method was inadvisable. Since my needs are so simple, I went with the sprintf solution - simplest of all.

Chap

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to