Changeset 10218 for trunk/gsdl/perllib/plugins/GAPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/GAPlug.pm
r9468 r10218 32 32 33 33 use XMLPlug; 34 #$%^ 35 use parse2; 34 36 35 37 sub BEGIN { … … 50 52 51 53 sub new { 52 my $class = shift (@_); 53 my $self = new XMLPlug ($class, @_); 54 my ($class) = shift (@_); 55 my ($pluginlist,$inputargs,$hashArgOptLists) = @_; 56 push(@$pluginlist, $class); 54 57 55 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 56 my $option_list = $self->{'option_list'}; 57 push( @{$option_list}, $options ); 58 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 59 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 60 61 my $self = (defined $hashArgOptLists)? new XMLPlug($pluginlist,$inputargs,$hashArgOptLists): new XMLPlug($pluginlist,$inputargs); 58 62 59 63 $self->{'section'} = "";
Note:
See TracChangeset
for help on using the changeset viewer.