Helping ordinary people create extraordinary websites!

Tips for Convenient CGI Scripting

By Eugene Logvinov
2005-04-28

A Close Look at the CGI.pm Module
Any CGI programmer benefits from knowing and using ready-made libraries. In this article Eugene Logvinov shows how CGI modules taken from CPAN can not only help you to work effectively and conveniently, but can also provide you with an excellent code and reference library. Consequently, embedding POD (Plain Old Documentation) in the module turns out to be a good choice.

When you're doing CGI programming you usually have a choice between using the CGI module or scripting manually. Here we're going to take a look at what you can do with the CGI module and its derived classes, like CGI::Fast. Scripting without using any pre-built modules may be fine when a CGI application only needs a small amount of code, like when you're parsing $ENV{QUERY_STRING}, or when speed is of the essence, like when you're compiling a 200 KB module. But more often than not, the CGI module is more suitable.



Tutorial pages:

First published by IBM DeveloperWorks


 2 Votes

You might also want to check these out:


Leave a Comment on "Tips for Convenient CGI Scripting"
You must be logged in to post a comment.

Link to This Tutorial Page!


GET OUR NEWSLETTERS