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