in reply to Re^2: Inherit XML::DOM::Document?
in thread Inherit XML::DOM::Document?

Howdy!

The error message from your first snippet simply means that 'strict vars' is in effect, and you haven't told it that @ISA is ok.

use vars qw ( @ISA ); use XML::DOM; @ISA = qw(XML::DOM::Document);
should compile fine. The current package will now be a subclass of XML::DOM::Document. Whether that acutally does what you want is a separate problem.

yours,
Michael

Replies are listed 'Best First'.
Re^4: Inherit XML::DOM::Document?
by braden (Novice) on Apr 07, 2006 at 05:08 UTC
    Ah, thanks. Presumably that would get me as far as the other problem: that I simply cannot inherit XML::DOM::Document.