in reply to Perl Programming guidelines/rules

I think hakkr's list is great, but not perfect. I would agree with most of his points, one notable execption (in my opinion) is

2. use HTML::Template not HERE documents

HERE documents are very helpful, and one doesn't have to learn how to use something new (i.e. HTML::Template). I've used it before, and it's harder to use it than to write multiple print statements (my opinion). Otherwise, this is a great idea.

Replies are listed 'Best First'.
Re: Re: Perl Programming guidlines/rules
by hakkr (Chaplain) on Nov 21, 2002 at 17:33 UTC
    Thanks, arrow This is mainly to help our designers from mangling our cgi scripts. I agree they are very useful but not when all your applications HTML is stored in them and you have to trawl through code to make minor html changes. Basically trying to separate code and presentation helps to get the designers to take care of html changes