Ignore:
Timestamp:
2008-09-08T11:35:57+12:00 (16 years ago)
Author:
kjdon
Message:

BasDownload renamed to BaseDownload, also tidied up the constructors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/downloaders/WgetDownload.pm

    r16791 r17207  
    3232$SIG{__WARN__} = sub {warn($_[0]) unless ($_[0] =~ /Subroutine\s+\S+\sredefined/)};
    3333
    34 use BasDownload;
     34use BaseDownload;
    3535use strict;
    3636use IPC::Open2;
     
    3838
    3939sub BEGIN {
    40     @WgetDownload::ISA = ('BasDownload');
     40    @WgetDownload::ISA = ('BaseDownload');
    4141}
    4242
     
    8080    push(@$getlist, $class);
    8181
    82     if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});}
    83     if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)};
    84 
    85     my $self = (defined $hashArgOptLists)? new BasDownload($getlist,$inputargs,$hashArgOptLists): new BasDownload($getlist,$inputargs);
     82    push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});
     83    push(@{$hashArgOptLists->{"OptList"}},$options);
     84
     85    my $self = new BaseDownload($getlist,$inputargs,$hashArgOptLists);
    8686
    8787    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.