It looks like what you actually want is a templating system, like Template Toolkit
In reply to Re: Printing to stdout an array of strings and scalar references
by Eily
in thread Printing to stdout an array of strings and scalar references
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |