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