This problem is making me go mad! Is there any way I could work around it?
I suspect this is another case of needing a liberal sprinkling of "use bytes" in places like within XPathScript.pm, and also at the head of the compiled page. Try something like this patch:
Index: lib/Apache/AxKit/Language/XPathScript.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Language/XPathScript.pm,v
retrieving revision 1.12
diff -u -r1.12 XPathScript.pm
--- lib/Apache/AxKit/Language/XPathScript.pm 19 Sep 2003 10:08:04 -0000 1.12
+++ lib/Apache/AxKit/Language/XPathScript.pm 3 Nov 2003 19:48:37 -0000
@@ -17,6 +17,7 @@
use Apache::AxKit::Cache;
use Apache::AxKit::Exception;
use Apache::AxKit::CharsetConv;
+use bytes;
@ISA = 'Apache::AxKit::Language';
@@ -266,6 +267,7 @@
'; use Apache qw(exit);',
'use XML::XPath::Node;',
'Apache::AxKit::Language::XPathScript::Toys->import;',
+ 'use bytes;',
'sub handler {',
'my ($r, $xp, $t) = @_;',
"\n#line 1 " . $provider->key() . "\n",
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
