Your question makes a little sense, but it is not exactly clear what is your underlying rationale and goals:
Absent a better understanding of why you are going this specific path, please take a look at Template Toolkit. It seems as though you are trying to re-invent it, or something similar.
http://www.template-toolkit.org/
In reply to Re: inserting HTML file in a PERL script
by dimar
in thread inserting HTML file in a PERL script
by thetallblondguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |