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.
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.use vars qw ( @ISA ); use XML::DOM; @ISA = qw(XML::DOM::Document);
In reply to Re^3: Inherit XML::DOM::Document?
by herveus
in thread Inherit XML::DOM::Document?
by braden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |