[system] / branches / rel-2-4-patches / webwork-modperl / lib / WeBWorK / CGI.pm Repository:
ViewVC logotype

Annotation of /branches/rel-2-4-patches/webwork-modperl/lib/WeBWorK/CGI.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5734 - (view) (download) (as text)

1 : sh002i 4500 ################################################################################
2 :     # WeBWorK Online Homework Delivery System
3 : sh002i 5318 # Copyright © 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
4 :     # $CVSHeader: webwork2/lib/WeBWorK/CGI.pm,v 1.27 2006/09/15 22:02:37 sh002i Exp $
5 : sh002i 4500 #
6 :     # This program is free software; you can redistribute it and/or modify it under
7 :     # the terms of either: (a) the GNU General Public License as published by the
8 :     # Free Software Foundation; either version 2, or (at your option) any later
9 :     # version, or (b) the "Artistic License" which comes with this package.
10 :     #
11 :     # This program is distributed in the hope that it will be useful, but WITHOUT
12 :     # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 :     # FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14 :     # Artistic License for more details.
15 :     ################################################################################
16 : gage 4232
17 : sh002i 4500 package WeBWorK::CGI;
18 : gage 4233
19 : sh002i 4500 use strict;
20 :     use warnings;
21 : gage 4233
22 : sh002i 4500 # from http://search.cpan.org/src/LDS/CGI.pm-3.20/cgi_docs.html#subclassing
23 :     use vars qw/@ISA $VERSION/;
24 :     require CGI;
25 :     @ISA = 'CGI';
26 :     $VERSION = "0.1";
27 : gage 4283
28 : sh002i 4500 $CGI::DefaultClass = __PACKAGE__;
29 :     $WeBWorK::CGI::AutoloadClass = 'CGI';
30 : gage 4283
31 : sh002i 4500 sub new {
32 :     my $self = shift->SUPER::new(@_);
33 :     $self->delete_all;
34 :     return $self;
35 :     }
36 : gage 4233
37 : gage 4271 1;

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9