Changeset 4744 for trunk/gsdl/perllib/plugins/MARCPlug.pm
- Timestamp:
- 2003-06-20T14:22:34+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/MARCPlug.pm
r3508 r4744 37 37 unshift (@INC, "$ENV{'GSDLHOME'}/perllib/cpan"); 38 38 } 39 40 my $arguments = 41 [ { 'name' => "metadata_mapping", 42 'desc' => "Name of file that includes mapping details from MARC values to Greenstone metadata names. Defaults to 'marctodc.txt' found in the site's etc directory.", 43 'type' => "string", 44 'deft' => "marctodc.txt", 45 'reqd' => "no" } ]; 46 47 my $options = { 'name' => "MARCPlug", 48 'desc' => "", 49 'inherits' => "Yes", 50 'args' => $arguments }; 39 51 40 52 use MARC::Record; … … 67 79 68 80 $self->{'mm_file'} = $metadata_mapping; # relative to etc dir 81 82 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 83 my $option_list = $self->{'option_list'}; 84 push( @{$option_list}, $options ); 69 85 70 86 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.