Changeset 10253 for trunk/gsdl/perllib/classify/AZList.pm
- Timestamp:
- 2005-07-19T16:18:25+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/AZList.pm
r10218 r10253 32 32 use iso639; 33 33 34 use strict; 35 no strict 'refs'; # allow filehandles to be variables and viceversa 36 34 37 sub BEGIN { 35 @ ISA = ('BasClas');38 @AZList::ISA = ('BasClas'); 36 39 } 37 40 … … 76 79 my $self = (defined $hashArgOptLists)? new BasClas($classifierslist,$inputargs,$hashArgOptLists): new BasClas($classifierslist,$inputargs); 77 80 81 if ($self->{'info_only'}) { 82 # don't worry about any options etc 83 return bless $self, $class; 84 } 85 78 86 if (!$self->{"metadata"}) { 79 87 print STDERR "AZList Error: required option -metadata not supplied \n"; … … 131 139 132 140 # find the first available metadata 133 foreach $m (@{$self->{'meta_list'}}) {141 foreach my $m (@{$self->{'meta_list'}}) { 134 142 $metavalue = $doc_obj->get_metadata_element($doc_obj->get_top_section(), $m); 135 143 $metaname = $m;
Note:
See TracChangeset
for help on using the changeset viewer.