in reply to Best practices: Generating HTML content
Hello nysus,
Have you considered:
1) Moving here-docs to constants (or "constants" aka my variables that only your module sees)?
2) using q{ ... } for multi-line/very long strings?
3) Using sprintf + HTML::Entities/HTML::Escape as a poor man's template?
I don't think it's time to look at __DATA__ until these options are eliminated...
|
|---|