(Resending because I was not subscribed from this email address. I
apologize for the inconvenience if it gets in twice)
Sgml.pm's debug option is a space separated list of 'channels' to print
debug information for. But its value was not being split which caused
the option not to work.
Changelog:
* lib/Locale/Po4a/Sgml.pm
Francois Gouget <fgouget(a)codeweavers.com>
The debug option is a space separated list of channels to print
information for. So we must
split it to set $debug.
--
Francois Gouget
fgouget(a)codeweavers.com
Index: lib/Locale/Po4a/Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.55
diff -u -p -r1.55 Sgml.pm
--- lib/Locale/Po4a/Sgml.pm 21 May 2005 18:42:21 -0000 1.55
+++ lib/Locale/Po4a/Sgml.pm 24 May 2005 11:47:01 -0000
@@ -217,7 +217,7 @@ sub initialize {
}
}
if ($options{'debug'}) {
- foreach ($options{'debug'}) {
+ foreach (split /\s+/, $options{'debug'}) {
$debug{$_} = 1;
}
}