in reply to using a 'here' doc to build a web page
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 Section
Seekers of Perl Wisdom