Changeset 10253 for trunk/gsdl/perllib/classify/SectionList.pm
- Timestamp:
- 2005-07-19T16:18:25+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/SectionList.pm
r10218 r10253 35 35 use sorttools; 36 36 37 use strict; 38 no strict 'refs'; # allow filehandles to be variables and viceversa 39 37 40 sub BEGIN { 38 @ ISA = ('List');41 @SectionList::ISA = ('List'); 39 42 } 40 43 44 my $arguments = []; 41 45 my $options = { 'name' => "SectionList", 42 46 'desc' => "{SectionList.desc}", … … 71 75 my $thissection = undef; 72 76 73 my $option; 74 foreach $option (@options) 77 foreach my $option (@options) 75 78 { 76 79 if ($option =~ m/^section=(\d+)$/i) … … 118 121 if (defined $self->{'meta_list'}) { 119 122 # find the first available metadata 120 foreach $m (@{$self->{'meta_list'}}) {123 foreach my $m (@{$self->{'meta_list'}}) { 121 124 $metavalue = $doc_obj->get_metadata_element($section, $m); 122 125 $metaname = $m;
Note:
See TracChangeset
for help on using the changeset viewer.