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/HTML/Lite.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/HTML/Lite.pm')
| -rw-r--r-- | fml/lib/Mail/HTML/Lite.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fml/lib/Mail/HTML/Lite.pm b/fml/lib/Mail/HTML/Lite.pm index c350cdd7..035d42d5 100644 --- a/fml/lib/Mail/HTML/Lite.pm +++ b/fml/lib/Mail/HTML/Lite.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: Lite.pm,v 1.37 2002/01/14 11:59:02 fukachan Exp $ +# $FML: Lite.pm,v 1.38 2002/01/16 13:34:03 fukachan Exp $ # package Mail::HTML::Lite; @@ -12,10 +12,10 @@ use strict; use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD); use Carp; -my $debug = $ENV{'debug'} ? 1 : 0; +my $debug = 0; my $URL = "<A HREF=\"http://www.fml.org/software/\">Mail::HTML::Lite</A>"; -my $version = q$FML: Lite.pm,v 1.37 2002/01/14 11:59:02 fukachan Exp $; +my $version = q$FML: Lite.pm,v 1.38 2002/01/16 13:34:03 fukachan Exp $; if ($version =~ /,v\s+([\d\.]+)\s+/) { $version = "$URL $1"; } @@ -2291,7 +2291,7 @@ sub htmlify_file directory => $dst_dir, }; - if (defined $ENV{'debug'}) { + if ($debug) { printf STDERR "htmlify_file( id=%-6s src=%s )\n", $id, $file; } @@ -2307,7 +2307,7 @@ sub htmlify_file # no more action for old files if ($html->is_ignore($id)) { - warn("not process $id (already exists)") if defined $ENV{'debug'}; + warn("not process $id (already exists)") if $debug; } else { printf STDERR " converted( id=%-6s src=%s )\n", $id, $file; |
