summaryrefslogtreecommitdiff
path: root/fml/lib/Mail/ThreadTrack
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-02-01 12:03:55 +0000
committerfukachan <fukachan>2002-02-01 12:03:55 +0000
commita176a2ad4ac5fd35a3a056dd3828c0dbb1da0e6d (patch)
treec06f02bd93f73f40c2cafff8c461d73731b15b6d /fml/lib/Mail/ThreadTrack
parenteec3fb6d6aa9ffe509abbab89f304f450295d860 (diff)
downloadfml8-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/ThreadTrack')
-rw-r--r--fml/lib/Mail/ThreadTrack/Analyze.pm6
-rw-r--r--fml/lib/Mail/ThreadTrack/DB.pm4
2 files changed, 5 insertions, 5 deletions
diff --git a/fml/lib/Mail/ThreadTrack/Analyze.pm b/fml/lib/Mail/ThreadTrack/Analyze.pm
index 483bd3a2..0ed5ee27 100644
--- a/fml/lib/Mail/ThreadTrack/Analyze.pm
+++ b/fml/lib/Mail/ThreadTrack/Analyze.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: Analyze.pm,v 1.23 2002/01/16 13:34:04 fukachan Exp $
+# $FML: Analyze.pm,v 1.24 2002/01/16 13:43:22 fukachan Exp $
#
package Mail::ThreadTrack::Analyze;
@@ -12,7 +12,7 @@ use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
use Carp;
-my $debug = defined $ENV{'debug'} ? 1 : 0;
+my $debug = 0;
=head1 NAME
@@ -283,7 +283,7 @@ sub _is_ignore
while (($field, $rule) = each %$filterlist) {
if (defined $header->get($field)) {
my $value = $header->get($field);
- if ($ENV{'debug'}) {
+ if ($debug) {
print STDERR "ignore $field: $value\n" if $value =~ /$rule/m;
}
return 1 if $value =~ /$rule/;
diff --git a/fml/lib/Mail/ThreadTrack/DB.pm b/fml/lib/Mail/ThreadTrack/DB.pm
index 3b83e7fa..6fea43e1 100644
--- a/fml/lib/Mail/ThreadTrack/DB.pm
+++ b/fml/lib/Mail/ThreadTrack/DB.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: DB.pm,v 1.19 2002/01/13 13:35:30 fukachan Exp $
+# $FML: DB.pm,v 1.20 2002/01/30 14:51:16 fukachan Exp $
#
package Mail::ThreadTrack::DB;
@@ -12,7 +12,7 @@ use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
use Carp;
-my $debug = defined $ENV{'debug'} ? 1 : 0;
+my $debug = 0;
=head1 NAME