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

View of /branches/rel-2-4-patches/webwork2/lib/WeBWorK/CGI.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5734 - (download) (as text) (annotate)
Tue Jun 24 00:44:59 2008 UTC (4 years, 11 months ago)
File size: 1303 byte(s)
This commit was manufactured by cvs2svn to create branch 'rel-2-4-patches'.

    1 ################################################################################
    2 # WeBWorK Online Homework Delivery System
    3 # 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 #
    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 
   17 package WeBWorK::CGI;
   18 
   19 use strict;
   20 use warnings;
   21 
   22 # 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 
   28 $CGI::DefaultClass = __PACKAGE__;
   29 $WeBWorK::CGI::AutoloadClass = 'CGI';
   30 
   31 sub new {
   32   my $self = shift->SUPER::new(@_);
   33   $self->delete_all;
   34   return $self;
   35 }
   36 
   37 1;

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9