As I am unfamiliar with mod_perl, I'm hoping that someone on this list who
is might lend a hand figuring out this report of a puzzling error:
An HTML::Element user reports that he's seeing in his Apache logs lots of
lines reporting this:
Constant subroutine ABORT redefined at
/usr/lib/perl5/site_perl/HTML/Element.pm line 165.
Constant subroutine PRUNE redefined at
/usr/lib/perl5/site_perl/HTML/Element.pm line 166.
Constant subroutine PRUNE_SOFTLY redefined at
/usr/lib/perl5/site_perl/HTML/Element.pm line 167.
Constant subroutine OK redefined at
/usr/lib/perl5/site_perl/HTML/Element.pm line 168.
Constant subroutine PRUNE_UP redefined at
/usr/lib/perl5/site_perl/HTML/Element.pm line 169.
Now, the offending lines are merely these:
sub ABORT () {$ABORT}
sub PRUNE () {$PRUNE}
sub PRUNE_SOFTLY () {$PRUNE_SOFTLY}
sub OK () {$OK}
sub PRUNE_UP () {$PRUNE_UP}
(and those variables are lexicals, by the way)
Now, the above lines are the only place where anything defines
HTML::Element::ABORT et al, and under normal use (non-mod_perl) with -w
warnings on, no warnings about redefinition are emitted. Does anyone know
what's going on, much less what I should do about it? (Or: is this a bug
in mod_perl?)
--
Sean M. Burke [EMAIL PROTECTED] http://www.netadventure.net/~sburke/