Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: use CGI or die, even with mod_perl?

by fruiture (Curate)
on Apr 29, 2003 at 10:09 UTC ( #253930=note: print w/ replies, xml ) Need Help??

in reply to use CGI or die, even with mod_perl?

The main problem solved by is correct evaluation of Query-String or STDINput and the correct output of HTTP Headers. I'd say HTML-generation is a nice feature for small scripts.

As the input parameters and rules for HTTP Headers stay the same under mod_perl (depending on what handler you implement ...), it's still that will do these tasks correctly for you.

As for the HTML stuff: You will agree that in a larger application you'll use templates anyway (i like the Template Toolkit). You only determine the HTML-output in small scripts and for them will save you typing and will produce correct HTML (better "will make it easy to produce correct HTML"). What you do is up to you.


Comment on Re: use CGI or die, even with mod_perl?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2015-11-28 06:43 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls