Changeset 10254 for trunk/gsdl/perllib/plugins/ProCitePlug.pm
- Timestamp:
- 2005-07-19T16:27:51+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ProCitePlug.pm
r10218 r10254 31 31 use SplitPlug; 32 32 33 use strict; 34 no strict 'refs'; # allow filehandles to be variables and viceversa 33 35 34 36 # ProCitePlug is a sub-class of SplitPlug 35 37 sub BEGIN { 36 @ ISA = ('SplitPlug');38 @ProCitePlug::ISA = ('SplitPlug'); 37 39 } 38 40 … … 158 160 my $outhandle = $self->{'outhandle'}; 159 161 my $filename = &util::filename_cat($base_dir, $file); 160 162 my $cursection = $doc_obj->get_top_section(); 161 163 # Report that we're processing the file 162 164 print STDERR "<Processing n='$file' p='ProCitePlug'>\n" if ($gli); … … 216 218 217 219 # Multiple metadata values are separated with "//" 218 foreach $field_value (split(/\/\//, $field_value_raw)) {220 foreach my $field_value (split(/\/\//, $field_value_raw)) { 219 221 my $meta_name = "pc.Field" . ($fieldnum + 1) . "Value"; 220 222 $doc_obj->add_utf8_metadata($cursection, $meta_name, $field_value);
Note:
See TracChangeset
for help on using the changeset viewer.