Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Managing large CGI pages

by swiftone (Curate)
on Jun 07, 2000 at 21:30 UTC ( [id://16910]=note: print w/replies, xml ) Need Help??


in reply to Managing large CGI pages

I use Text::Template, which helps seperate the HTML from the perl code. See my posts at Node 12215 (in the thread Design vs. Code vs. Maintenance) and Node 14368 (in the thread Perl solutions for large websites?)

Basically Text::Template lets you embed Perl code into HTML. This can be a complete program, or a variable (the latter is the way I recommend). Thus you can have a perl program that does all the calculating, then dumps variables into an HTML file. Text::Template is flexible enough to support just about any situation, and you avoid the "my site doesn't work like that" problems of full site-maintainers such as HTML::Mason.

Log In?
Username:
Password:

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

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

    No recent polls found