Changeset 1244 for trunk/gsdl/perllib/plugins/ArcPlug.pm
- Timestamp:
- 2000-06-27T17:10:07+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ArcPlug.pm
r809 r1244 39 39 } 40 40 41 use strict; 42 41 43 sub new { 42 44 my ($class) = @_; 43 my $self = new BasPlug ( );45 my $self = new BasPlug ("ArcPlug", @_); 44 46 45 47 return bless $self, $class; … … 58 60 sub read { 59 61 my $self = shift (@_); 60 ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs) = @_;62 my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs) = @_; 61 63 62 64 my $count = 0; 63 65 64 66 # see if this has a archives information file within it 65 $archive_info_filename = &util::filename_cat($base_dir,$file,"archives.inf");67 my $archive_info_filename = &util::filename_cat($base_dir,$file,"archives.inf"); 66 68 67 69 if (-e $archive_info_filename) { … … 77 79 78 80 # process each file 79 foreach $subfile (@$file_list) {81 foreach my $subfile (@$file_list) { 80 82 last if ($maxdocs != -1 && $count >= $maxdocs); 81 83
Note:
See TracChangeset
for help on using the changeset viewer.