- Timestamp:
- 2000-07-13T10:21:53+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New_Config_Format-branch/gsdl/perllib/plugins/RecPlug.pm
r809 r1279 38 38 } 39 39 40 use strict; 41 40 42 sub new { 41 43 my ($class) = @_; 42 my $self = new BasPlug ( );44 my $self = new BasPlug ("RecPlug", @_); 43 45 44 46 $self->{'exclude_tail_dirs'} = []; # empty by default … … 62 64 my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs) = @_; 63 65 64 foreach $etd ( @{$self->{'exclude_tail_dirs'}} )66 foreach my $etd ( @{$self->{'exclude_tail_dirs'}} ) 65 67 { 66 68 return 0 if ($file =~ m/$etd/); … … 72 74 73 75 # see if this is a directory 74 $dirname = &util::filename_cat ($base_dir, $file);76 my $dirname = &util::filename_cat ($base_dir, $file); 75 77 if (-d $dirname) { 76 78
Note:
See TracChangeset
for help on using the changeset viewer.