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