in reply to Efficiency/Speed question... (files or formats?)

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:

  1. Using hundreds of horrible print statements, all of which neeed to have all the quotes escaped
  2. Using "print qq" instead
  3. Using HERE documents or subs
  4. Using your own templating system
  5. 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
  • Comment on Re: Efficiency/Speed question... (files or formats?)