in reply to Re: Use perl CGI to create <a href="url" target="t">text</a>?
in thread Use perl CGI to create <a href="url" target="t">text</a>?
Nowadays, we usually use templates to generate HTML (Template::Toolkit, Text::Xslate). Going back to print is not the right way.
a template by any other name ;)
since it started in ~1995 it didn't take a lot of work with "CGI::HTML::Functions" to find bugs, then check the bug cue/Changes, and realize bugs remain and reappear way too frequently to be relied upon, so you start writing your own functions and soon
soon you turn it into heredocs with escapeHTML... There is a reason a diy templating engine is a rite of passage
|
|---|