summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Language/Japanese/Utils.pm
diff options
context:
space:
mode:
Diffstat (limited to 'fml/lib/FML/Language/Japanese/Utils.pm')
-rw-r--r--fml/lib/FML/Language/Japanese/Utils.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/fml/lib/FML/Language/Japanese/Utils.pm b/fml/lib/FML/Language/Japanese/Utils.pm
index cac2a509..658a1a0f 100644
--- a/fml/lib/FML/Language/Japanese/Utils.pm
+++ b/fml/lib/FML/Language/Japanese/Utils.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: Utils.pm,v 1.4 2001/12/22 09:21:08 fukachan Exp $
+# $FML: Utils.pm,v 1.5 2001/12/23 12:19:13 fukachan Exp $
#
package FML::Language::Japanese::Utils;
@@ -12,6 +12,8 @@ use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
use Carp;
+my $debug = 0;
+
=head1 NAME
FML::Language::Japanese::Utils - what is this
@@ -129,7 +131,7 @@ sub compare_euc_string
$loc = index($pa, $pat);
}
- print STDERR "buf = <$a> pa=<$pa> pat=<$pat> loc=$loc\n" if $ENV{'debug'};
+ print STDERR "buf = <$a> pa=<$pa> pat=<$pat> loc=$loc\n" if $debug;
return 1 if ($loc % 2) == 0;