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

    r9853 r10218  
    5151
    5252sub new {
    53     my ($class) = @_;
    54     $self = new BasPlug ();
    55     $self->{'plugin_type'} = "FOXPlug";
    56     # 14-05-02 To allow for proper inheritance of arguments - John Thompson
    57     my $option_list = $self->{'option_list'};
    58     push( @{$option_list}, $options );
     53    my ($class) = shift (@_);
     54    my ($pluginlist,$inputargs,$hashArgOptLists) = @_;
     55    push(@$pluginlist, $class);
     56
     57    if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});}
     58    if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)};
     59
     60    my $self = (defined $hashArgOptLists)? new BasPlug($pluginlist,$inputargs,$hashArgOptLists): new BasPlug($pluginlist,$inputargs);
    5961
    6062    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.