Is this a valid approach?
It is valid but it won't be the most scalable or maintainable in the long term. If you have not already done so, do consider one of the excellent templating systems available on CPAN. While they might be considered overkill for a single, isolated web page the knowledge will stand you in good stead should you attempt more ambitious projects in future.
In reply to Re: using a 'here' doc to build a web page
by hippo
in thread using a 'here' doc to build a web page
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |