Feb 6, 2009

Kickin it old school

Early this week I found myself writing a CGI script. An old-style CGI script.

Ok, I'm not talking like Matt's Script Archive full of security-holes &format(*INFO); old-style; I at least use-d CGI.pm. But it was still chock-full of print "<tr><td>"; and the like. Did we really build the early web on this crap? (although I bet a lot of java servlets are still written this way...)

Nowadays I mostly use HTML::Mason for anything interesting, it's just so much more natural to type the needed HTML code as ... well, HTML. And, to complete the circle, yesterday when I needed to extend the functionality of my hack, I rewrote it in Mason. I feel better now.

No comments: