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/HBPlug.pm

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