If huck's reply hasn't caused the lightbulb to go on, perhaps you could post the specific code examples you're experimenting with; please see Short, Self-Contained, Correct Example. The other thing that occurs to me is that perhaps you're interested in some kind of text templating system; maybe take a look at Re: Evaluating $1 construct in literal replacement expression if so.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Please help me understand string eval better
by AnomalousMonk
in thread Please help me understand string eval better
by perltux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |