2001-07-12 21:05:08 +00:00
|
|
|
There are two styles of programming with CGI.pm, an object-oriented
|
|
|
|
style and a function-oriented style. In the object-oriented style you
|
|
|
|
create one or more CGI objects and then use object methods to create the
|
|
|
|
various elements of the page. Each CGI object starts out with the list
|
|
|
|
of named parameters that were passed to your CGI script by the server.
|
|
|
|
You can modify the objects, save them to a file or database and recreate
|
|
|
|
them. Because each object corresponds to the "state" of the CGI script,
|
|
|
|
and because each object's parameter list is independent of the others,
|
|
|
|
this allows you to save the state of the script and restore it later.
|
2002-09-17 20:35:02 +00:00
|
|
|
|
2005-09-21 19:31:43 +00:00
|
|
|
WWW: http://search.cpan.org/dist/CGI.pm/
|