diff options
| author | fukachan <fukachan> | 2002-02-01 12:03:55 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-02-01 12:03:55 +0000 |
| commit | a176a2ad4ac5fd35a3a056dd3828c0dbb1da0e6d (patch) | |
| tree | c06f02bd93f73f40c2cafff8c461d73731b15b6d /fml/lib/Mail/Bounce/Postfix19991231.pm | |
| parent | eec3fb6d6aa9ffe509abbab89f304f450295d860 (diff) | |
| download | fml8-subdir-base.tar.gz fml8-subdir-base.tar.bz2 fml8-subdir-base.zip | |
remove $ENV{debug} based toggle flagsubdir-base
Diffstat (limited to 'fml/lib/Mail/Bounce/Postfix19991231.pm')
| -rw-r--r-- | fml/lib/Mail/Bounce/Postfix19991231.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fml/lib/Mail/Bounce/Postfix19991231.pm b/fml/lib/Mail/Bounce/Postfix19991231.pm index 4082e306..9033713a 100644 --- a/fml/lib/Mail/Bounce/Postfix19991231.pm +++ b/fml/lib/Mail/Bounce/Postfix19991231.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Postfix19991231.pm,v 1.14 2002/01/16 13:34:02 fukachan Exp $ +# $FML: Postfix19991231.pm,v 1.15 2002/01/16 13:43:21 fukachan Exp $ # @@ -14,6 +14,8 @@ use strict; use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD); use Carp; +my $debug = 0; + @ISA = qw(Mail::Bounce); =head1 NAME @@ -90,7 +92,7 @@ sub _analyze_plaintext my $data = $m->nth_paragraph( $i + 1 ); # debug - print STDERR "paragraph($i){$data}\n" if $ENV{'debug'}; + print STDERR "paragraph($i){$data}\n" if $debug; if ($data =~ /$pattern/) { $state = 1;} if ($data =~ /$end_pattern/) { $state = 0;} @@ -126,7 +128,7 @@ sub _analyze_broken_dsn my $data = $m->nth_paragraph( $i + 1 ); # debug - print STDERR "paragraph($i){$data}\n" if $ENV{'debug'}; + print STDERR "paragraph($i){$data}\n" if $debug; if ($data =~ /\<(\S+\@\S+\w+)\>:\s*(.*)/) { $self->_parse_address($data, $result); |
