summaryrefslogtreecommitdiff
path: root/fml/lib/Mail/Bounce
diff options
context:
space:
mode:
Diffstat (limited to 'fml/lib/Mail/Bounce')
-rw-r--r--fml/lib/Mail/Bounce/DSN.pm4
-rw-r--r--fml/lib/Mail/Bounce/FixBrokenAddress.pm8
-rw-r--r--fml/lib/Mail/Bounce/Language/Japanese.pm8
-rw-r--r--fml/lib/Mail/Bounce/Postfix19991231.pm8
-rw-r--r--fml/lib/Mail/Bounce/SimpleMatch.pm4
5 files changed, 17 insertions, 15 deletions
diff --git a/fml/lib/Mail/Bounce/DSN.pm b/fml/lib/Mail/Bounce/DSN.pm
index 9e22c6f3..62a3b2c6 100644
--- a/fml/lib/Mail/Bounce/DSN.pm
+++ b/fml/lib/Mail/Bounce/DSN.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: DSN.pm,v 1.15 2002/01/16 13:34:02 fukachan Exp $
+# $FML: DSN.pm,v 1.16 2002/01/16 13:43:21 fukachan Exp $
#
@@ -14,7 +14,7 @@ use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
use Carp;
-my $debug = $ENV{'debug'} ? 1 : 0;
+my $debug = 0;
@ISA = qw(Mail::Bounce);
diff --git a/fml/lib/Mail/Bounce/FixBrokenAddress.pm b/fml/lib/Mail/Bounce/FixBrokenAddress.pm
index 361a8d52..648f8dc6 100644
--- a/fml/lib/Mail/Bounce/FixBrokenAddress.pm
+++ b/fml/lib/Mail/Bounce/FixBrokenAddress.pm
@@ -1,10 +1,10 @@
#-*- perl -*-
#
-# Copyright (C) 2001 Ken'ichi Fukamachi
+# Copyright (C) 2001,2002 Ken'ichi Fukamachi
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: FixBrokenAddress.pm,v 1.4 2001/12/22 09:21:15 fukachan Exp $
+# $FML: FixBrokenAddress.pm,v 1.5 2001/12/23 15:03:27 fukachan Exp $
#
@@ -14,7 +14,7 @@ use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
use Carp;
-my $debug = $ENV{'debug'} ? 1 : 0;
+my $debug = 0;
@ISA = qw(Mail::Bounce);
@@ -73,7 +73,7 @@ Ken'ichi Fukamachi
=head1 COPYRIGHT
-Copyright (C) 2001 Ken'ichi Fukamachi
+Copyright (C) 2001,2002 Ken'ichi Fukamachi
All rights reserved. This program is free software; you can
redistribute it and/or modify it under the same terms as Perl itself.
diff --git a/fml/lib/Mail/Bounce/Language/Japanese.pm b/fml/lib/Mail/Bounce/Language/Japanese.pm
index f50f85ef..6829cb46 100644
--- a/fml/lib/Mail/Bounce/Language/Japanese.pm
+++ b/fml/lib/Mail/Bounce/Language/Japanese.pm
@@ -1,10 +1,10 @@
#-*- perl -*-
#
-# Copyright (C) 2001 Ken'ichi Fukamachi
+# Copyright (C) 2001,2002 Ken'ichi Fukamachi
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Japanese.pm,v 1.3 2001/12/22 09:21:16 fukachan Exp $
+# $FML: Japanese.pm,v 1.4 2001/12/24 02:26:33 fukachan Exp $
#
#
@@ -17,7 +17,7 @@ use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
use Carp;
-my $debug = $ENV{'debug'} ? 1 : 0;
+my $debug = 0;
@ISA = qw(Mail::Bounce);
@@ -111,7 +111,7 @@ Ken'ichi Fukamachi
=head1 COPYRIGHT
-Copyright (C) 2001 Ken'ichi Fukamachi
+Copyright (C) 2001,2002 Ken'ichi Fukamachi
All rights reserved. This program is free software; you can
redistribute it and/or modify it under the same terms as Perl itself.
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);
diff --git a/fml/lib/Mail/Bounce/SimpleMatch.pm b/fml/lib/Mail/Bounce/SimpleMatch.pm
index 11f1d09e..47a78432 100644
--- a/fml/lib/Mail/Bounce/SimpleMatch.pm
+++ b/fml/lib/Mail/Bounce/SimpleMatch.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: SimpleMatch.pm,v 1.27 2002/01/16 13:34:02 fukachan Exp $
+# $FML: SimpleMatch.pm,v 1.28 2002/01/16 13:43:21 fukachan Exp $
#
@@ -46,7 +46,7 @@ When we trap C<end>, the state changes from l to 0.
=cut
-my $debug = $ENV{'debug'} ? 1 : 0;
+my $debug = 0;
my $address_trap_regexp = {