good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Evaluating variables within a stringby Dallaylaen (Chaplain) |
on Dec 06, 2017 at 05:14 UTC ( [id://1205000]=note: print w/replies, xml ) | Need Help?? |
As it stands, a simple sprintf would work just fine:
Maybe the real case requires more sophisticated template engine, something like String::Formatter, but from the snippet it doesn't look like that.
In Section
Seekers of Perl Wisdom
|
|