Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Including .cgi into a cgi page

by dsheroh (Prior)
on Jan 28, 2013 at 10:05 UTC ( #1015666=note: print w/replies, xml ) Need Help??


in reply to Including .cgi into a cgi page

I'm not quite clear on what you're attempting to combine here.

Are you trying to combine a bunch of Perl code into a central collection which can be accessed by multiple CGI programs? If so, look for information on creating Perl modules.

Are you trying to build individual pages by assembling reusable pieces of HTML, such as standard/shared headers, footers, or sidebars? If so, you need a templating system. Template::Toolkit is the current 800-lb gorilla of Perl templates, but there are other good options out there, such as Alloy (which is mostly TT-compatible, but faster) and Xslate (my current preference).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015666]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-12-10 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (164 votes). Check out past polls.