Changeset 10218 for trunk/gsdl/perllib/plugins/MACROPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/MACROPlug.pm
r9853 r10218 85 85 86 86 sub new { 87 my ($class) = @_; 88 my $self = new BasPlug ($class, @_); 89 90 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 91 my $option_list = $self->{'option_list'}; 92 push( @{$option_list}, $options ); 87 my ($class) = shift (@_); 88 my ($pluginlist,$inputargs,$hashArgOptLists) = @_; 89 push(@$pluginlist, $class); 90 91 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 92 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 93 94 my $self = (defined $hashArgOptLists)? new BasPlug($pluginlist,$inputargs,$hashArgOptLists): new BasPlug($pluginlist,$inputargs); 93 95 94 96 # $self->{'lang_abbr'} = load_language_table();
Note:
See TracChangeset
for help on using the changeset viewer.