Ignore:
Timestamp:
2000-08-18T17:37:15+12:00 (24 years ago)
Author:
sjboddie
Message:

Added a -out option to most of the perl building scripts to allow output
debug information to be directed to a file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/EMAILPlug.pm

    r1244 r1424  
    7070}
    7171
    72 use strict;
    73 
    7472# Create a new EMAILPlug object with which to parse a file.
    7573# Accomplished by creating a new BasPlug and using bless to
     
    9391    my $self = shift (@_);
    9492    my ($textref, $pluginfo, $base_dir, $file, $metadata, $doc_obj) = @_;
    95    
     93    my $outhandle = $self->{'outhandle'};
     94
    9695    # Check that we're dealing with a valid mail file
    9796    return undef unless (($$textref =~ /From:/) || ($$textref =~ /To:/));
    9897
    99     print STDERR "EMAILPlug: processing $file\n"
     98    print $outhandle "EMAILPlug: processing $file\n"
    10099    if $self->{'verbosity'} > 1;
    101100
Note: See TracChangeset for help on using the changeset viewer.