Ignore:
Timestamp:
2005-08-30T11:30:45+12:00 (19 years ago)
Author:
mdewsnip
Message:

Moved the second half of the gsdlCGI.pm new() code out into a new function (parse_cgi_args) to make things a little easier for the West Yorkshire stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/cgi-bin/gsdlCGI.pm

    r10565 r10583  
    1010    my $class = shift @_;
    1111    my ($mode) = @_;
    12 
    1312
    1413    my $self;
     
    2625    }
    2726
     27    return bless $self, $class;
     28}
     29
     30
     31sub parse_cgi_args
     32{
     33    my $self = shift @_;
    2834    my $xml = (defined $self->param("xml")) ? 1 : 0;
    2935
     
    4046   
    4147    $self->{'args'} = join("&",@arg_list);
    42 
    43     return bless $self, $class;
    4448}
    4549
Note: See TracChangeset for help on using the changeset viewer.