perlfaq4 has a question entitled How can I expand variables in text strings? that gives a very bare bones solution that only handles simple cases. It's worth investing the time to learn about the templating modules, though, before you're tempted to write your own system. It's complicated.
In reply to Re: Display $var content
by chromatic
in thread Display $var content
by akm2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |