cgi-lib.pl

At one time, the most popular Perl library used by authors of CGI scripts was cgi-lib.pl. cgi-lib.pl has been around a lot longer than CGI.pm, and was the dominant CGI library for Perl 4. After Perl 5 was released, CGI.pm became the most popular Perl library and, even though it’s bundled with the standard Perl distribution, lots of people still write CGI programs using cgi-lib.pl. The official home page for cgi-lib.pl is

http://cgi-lib.berkeley.edu/

The number one advantage of cgi-lib.pl is that it’s relatively simple, especially compared to CGI.pm. By way of comparison, CGI.pm is about 180Kb. cgi-lib.pl is about 15Kb. Of course, it offers an awful lot less functionality than CGI.pm does. To use cgi-lib.pl in your program, you have ...

Get Sams Teach Yourself CGI in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.