in reply to Parsing variables from one file to another.
I was use a proper "templating" solution for this, such as Text::Template or even HTML::Template which really doesn't limit you to using HTML.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|