in reply to interpolating preset strings in variable context (or something like that)
Check out String::Interpolate. (String::Format may also be of interest.)
ihb
See perltoc if you don't know which perldoc to read!