Changeset 17209 for gsdl/trunk/perllib/classify/List.pm
- Timestamp:
- 2008-09-08T12:35:53+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/classify/List.pm
r12891 r17209 27 27 # to see the options, run "perl -S classinfo.pl List" 28 28 29 use Bas Clas;29 use BaseClassifier; 30 30 package List; 31 31 … … 36 36 37 37 sub BEGIN { 38 @List::ISA = ('Bas Clas');38 @List::ISA = ('BaseClassifier'); 39 39 } 40 40 … … 62 62 push(@$classifierslist, $class); 63 63 64 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 65 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 66 67 my $self = new BasClas($classifierslist, $inputargs, $hashArgOptLists); 64 push(@{$hashArgOptLists->{"ArgList"}},@{$arguments}); 65 push(@{$hashArgOptLists->{"OptList"}},$options); 66 67 my $self = new BaseClassifier($classifierslist, $inputargs, $hashArgOptLists); 68 69 if ($self->{'info_only'}) { 70 # don't worry about any options etc 71 return bless $self, $class; 72 } 68 73 69 74 # Transfer value from Auto Parsing to the variable name that used in previous GreenStone.
Note:
See TracChangeset
for help on using the changeset viewer.