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