Changeset 17207 for gsdl/trunk/perllib/downloaders/WgetDownload.pm
- Timestamp:
- 2008-09-08T11:35:57+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/downloaders/WgetDownload.pm
r16791 r17207 32 32 $SIG{__WARN__} = sub {warn($_[0]) unless ($_[0] =~ /Subroutine\s+\S+\sredefined/)}; 33 33 34 use Bas Download;34 use BaseDownload; 35 35 use strict; 36 36 use IPC::Open2; … … 38 38 39 39 sub BEGIN { 40 @WgetDownload::ISA = ('Bas Download');40 @WgetDownload::ISA = ('BaseDownload'); 41 41 } 42 42 … … 80 80 push(@$getlist, $class); 81 81 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); 86 86 87 87 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.