Changeset 1483 for trunk/gsdl/perllib/classify/SectionList.pm
- Timestamp:
- 2000-08-31T20:05:25+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/SectionList.pm
r1362 r1483 30 30 package SectionList; 31 31 32 use List; 32 33 use sorttools; 33 34 34 35 sub BEGIN { 35 36 @ISA = ('List'); 37 } 38 39 sub new { 40 my ($class, @options) = @_; 41 my $self = new List ($class, @_); 36 42 } 37 43 … … 94 100 if (defined $metavalue) { 95 101 if (defined $self->{'list'}->{"$doc_OID.$section"}) { 96 print STDERR "WARNING: SectionList::classify called multiple times for $doc_OID.$section\n"; 102 my $outhandle = $self->{'outhandle'}; 103 print $outhandle "WARNING: SectionList::classify called multiple times for $doc_OID.$section\n"; 97 104 } 98 105 $self->{'list'}->{"$doc_OID.$section"} = $sortmeta; … … 100 107 } else { 101 108 if (defined $self->{'list'}->{"$doc_OID.$section"}) { 102 print STDERR "WARNING: SectionList::classify called multiple times for $doc_OID.$section\n"; 109 my $outhandle = $self->{'outhandle'}; 110 print $outhandle "WARNING: SectionList::classify called multiple times for $doc_OID.$section\n"; 103 111 } 104 112 $self->{'list'}->{"$doc_OID.$section"} = $sortmeta;
Note:
See TracChangeset
for help on using the changeset viewer.