Changeset 1424 for trunk/gsdl/perllib/plugins/EMAILPlug.pm
- Timestamp:
- 2000-08-18T17:37:15+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/EMAILPlug.pm
r1244 r1424 70 70 } 71 71 72 use strict;73 74 72 # Create a new EMAILPlug object with which to parse a file. 75 73 # Accomplished by creating a new BasPlug and using bless to … … 93 91 my $self = shift (@_); 94 92 my ($textref, $pluginfo, $base_dir, $file, $metadata, $doc_obj) = @_; 95 93 my $outhandle = $self->{'outhandle'}; 94 96 95 # Check that we're dealing with a valid mail file 97 96 return undef unless (($$textref =~ /From:/) || ($$textref =~ /To:/)); 98 97 99 print STDERR"EMAILPlug: processing $file\n"98 print $outhandle "EMAILPlug: processing $file\n" 100 99 if $self->{'verbosity'} > 1; 101 100
Note:
See TracChangeset
for help on using the changeset viewer.