Pricing

  • Free

Version: 2.80

Released: Jan 11, 2002

Registered User Ratings

1
2
3
4
5
6
7
8
9
10

9.38

8 Ratings

Unregistered User Ratings

1
2
3
4
5
6
7
8
9
10

8.73

71 Ratings

Developer

We don't know! This resource was submitted without any contact details. If you know who is responsible for this resource, let us know.

This resource was posted on Oct 13, 2010 and was not modified since.


Is our information correct? Let us know if we should change something.


If this is your resource, you can allow users to rate it from your website.

CGI.pm - a Perl5 CGI Library

Lincoln Stein states, "This perl 5 library uses objects to create Web fill-out forms on the fly and to parse their contents. It is similar to cgi-lib.pl in some respects. It provides a simple interface for parsing and interpreting query strings passed to CGI scripts. However, it also offers a rich set of functions for creating fill-out forms. Instead of remembering the syntax for HTML form elements, you just make a series of perl function calls. An important fringe benefit of this is that the value of the previous query is used to initialize the form, so that the state of the form is preserved from invocation to invocation.

Everything is done through a ``CGI'' object. When you create one of these objects it examines the environment for a query string, parses it, and stores the results. You can then ask the CGI object to return or modify the query values. CGI objects handle POST and GET methods correctly, and correctly distinguish between scripts called from <ISINDEX> documents and form-based documents. In fact you can debug your script from the command line without worrying about setting up environment variables."

Showing 1-8 of 8
Add a comment

This is the best module out there. In fact, I think it comes with Perl now. Many other scripts make use of this module, so it is a definite must!

Posted by phone123 on Aug 14, 2003 Reply

CGI.pm is a must! Whether or not it promotes laziness, it is truly an essential lib and is used extensively throughout the Perl world.

Posted by thememex on Mar 26, 2001 Reply

Posted by screamsli on Mar 23, 2001 Reply

This is the de facto standard module for CGI. The only thing I don't like is that it encourages embedding HTML generating code in your script which advanced programmers know gets you into trouble for large projects. But this module is standard and currently a must have for all perl developers

Posted by Glorat on Jul 28, 2000 Reply

It's the standard for programming CGI in Perl for a reason. Promotes lazyness? That's what Perl is all about! =) Makes life simple. I can't do without it.

Posted by mbadolato on Dec 06, 1999 Reply

I truly respect this excellent programmer's work, but cannot give a higher rating because of how it discourages lazy (unfortunately most) Perl programmers from learning CGI -- as a result, *another* lib is needlessly loaded by otherwise puny cgi calls and thus burdens the server.

Posted by fmace on Aug 05, 1999 Reply

It's fast; it's portable; it's a standard Perl module, so you know it's good.

Posted by king on Jul 25, 1999 Reply

Posted by michaelm on Apr 03, 1999 Reply

Showing 1-8 of 8