|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Creating dynamic variablesby Corion (Pope) |
| on Jan 03, 2013 at 09:52 UTC ( #1011429=note: print w/ replies, xml ) | Need Help?? |
|
Maybe you want a templating system instead? sprintf is the simplest one, and it could be used in your case as follows:
There are many, many more templating systems, with varying easy of use and complexity. I recommend looking at simple string substitution first.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||