Hi,
I'm back again with another question related to the Java evaluator I've been working on. As suggested in a previous post,
I added XML::Parser to the module list in global.conf so that I could
use it in my own module for the evaluator. Everything worked great.
However, now we are moving from our old ww2.0 install to a new ww2.2 install and I am having an issue. The error message reads:
'require' trapped by operation mask at /usr/local/lib/perl5/5.8.8/mach/IO/Handle.pm line 256
which from what I understand is typically caused by the Safe module. I
was able to narrow down the cause of the error to the following line:
$parser->parsefile($path);
in the context:
$parser = new XML::Parser(); $parser->setHandlers(Char => &char_handler, End => &end_handler, Start => &start_handler); $parser->parsefile($path);
So my current understanding of the situation is that
XML::Parser makes use of IO::Handle which contains the 'require'
statement which is disallowed.
Does this seem correct?
Could one of the changes such as security updates between the 2.0 and
2.2 versions be involved? If so, is there anything I can do?
Thanks,
David
PS we've also upgraded from perl 5.6 to 5.8 if that makes a difference.
<| Post or View Comments |>
|