Ignore:
Timestamp:
2005-07-06T15:27:45+12:00 (19 years ago)
Author:
kjdon
Message:

Jeffrey's new parsing modifications, committed approx 6 July, 15.16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/IndexPlug.pm

    r9853 r10218  
    7070
    7171sub new {
    72     my ($class) = @_;
    73     my $self = new BasPlug ("IndexPlug", @_);
    74     # 14-05-02 To allow for proper inheritance of arguments - John Thompson
    75     my $option_list = $self->{'option_list'};
    76     push( @{$option_list}, $options );
     72    my ($class) = shift (@_);
     73    my ($pluginlist,$inputargs,$hashArgOptLists) = @_;
     74    push(@$pluginlist, $class);
     75
     76    if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});}
     77    if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)};
     78
     79    my $self = (defined $hashArgOptLists)? new BasPlug($pluginlist,$inputargs,$hashArgOptLists): new BasPlug($pluginlist,$inputargs);
    7780
    7881    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.