Changeset 10218 for trunk/gsdl/perllib/plugins/HBPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/HBPlug.pm
r9853 r10218 68 68 69 69 sub new { 70 my ($class) = @_; 71 my $self = new BasPlug ("HBPlug", @_); 72 $self->{'plugin_type'} = "HBPlug"; 73 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 74 my $option_list = $self->{'option_list'}; 75 push( @{$option_list}, $options ); 70 my ($class) = shift (@_); 71 my ($pluginlist,$inputargs,$hashArgOptLists) = @_; 72 push(@$pluginlist, $class); 73 74 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 75 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 76 77 my $self = (defined $hashArgOptLists)? new BasPlug($pluginlist,$inputargs,$hashArgOptLists): new BasPlug($pluginlist,$inputargs); 76 78 77 79 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.