Helping ordinary people create extraordinary websites!
GET OUR NEWSLETTER
Your Email:
 

Tips for Convenient CGI Scripting

By Eugene Logvinov
2005-04-14


Standard modules of CGI::* type

In addition to its primary uses, the CGI module also has a few other functions, among them an HTML writing feature which, according to the module's author, "should be discarded in favor of the CGI::* modules" (HTTP::* and HTML::* should also be added here). Many of the module's functions are not always convenient, which is why CGI.pm is often used instead, and the HTML writing functions are usually abandoned. CGI::Minimal and CGI_Lite modules work better for this purpose.

Complex CGI scripting sometimes requires Web-related modules. Their implementation often depends on a specific task or usual HTML writing techniques. The list of modules for this can be found on CPAN (see Resources), which is not only the Perl programming archive but also a hub of ideas. I highly suggest you visit CPAN before writing a complex script; it will be worth the effort.

Tutorial Pages:
» Tips for Convenient CGI Scripting
» The CGI module
» Displaying script errors in the browser
» CGI::LogCarp usage and shortcomings
» Standard modules of CGI::* type
» Resources


First published by IBM DeveloperWorks


 | Bookmark
Related Tutorials:
» Random subroutines in Perl
» Log Script Use
» Creating Perl Modules for Web Sites
» Bit Vector, Using Perl Vec
» Build a Perl/CGI Voting System
» Perl Range Operator

Advertise with Us!


Tutorials Scripts Web Hosting Developer Manuals
Resources