I said this ages ago, but I feel it's still valid.
There's a process you go through when working with Perl and HTML, unless you're really lucky, and it's like this:
- Using hundreds of horrible print statements, all of which neeed to have all the quotes escaped
- Using "print qq" instead
- Using HERE documents or subs
- Using your own templating system
- Throwing your own templating system away and using HTML::Template
I'm proud to say that I have finally got to stage five. And I'm only now realising how many very smart, efficiency-minded extra options HTML::Template has.
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
=~y~b-v~a-z~s; print