Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Perl Programming guidlines/rules

by arrow (Friar)
on Nov 21, 2002 at 16:14 UTC ( [id://214808]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://214808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-18 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found