Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How do you deal with HTML in Perl?

by DamnDirtyApe (Curate)
on Jul 25, 2002 at 01:05 UTC ( [id://185080]=note: print w/replies, xml ) Need Help??


in reply to How do you deal with HTML in Perl?

I have to say, I think templating is the way to go. While it's true that there may be some logic involved, the logic in your template should all be related to the presentation, and really shouldn't be too hard to grasp.

I'm a big fan of Template Toolkit myself, and I really believe that, if your HTML jockeys are capable of writing correct HTML, they ought to be able to grasp an IF block, a FOREACH block, and an INCLUDE from another file. These are easy to do, easy to understand, and you get the abstraction you need from your code.


_______________
D a m n D i r t y A p e
Home Node | Email

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-20 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found