Changeset 10218 for trunk/gsdl/perllib/plugins/ReferPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ReferPlug.pm
r8121 r10218 102 102 103 103 sub new { 104 my $class = shift (@_); 105 my $self = new SplitPlug ($class, @_); 106 $self->{'plugin_type'} = "ReferPlug"; 107 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 108 my $option_list = $self->{'option_list'}; 109 push( @{$option_list}, $options ); 104 my ($class) = shift (@_); 105 my ($pluginlist,$inputargs,$hashArgOptLists) = @_; 106 push(@$pluginlist, $class); 107 108 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 109 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 110 111 my $self = (defined $hashArgOptLists)? new SplitPlug($pluginlist,$inputargs,$hashArgOptLists): new SplitPlug($pluginlist,$inputargs); 110 112 111 113 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.