in reply to Re^2: Inherit XML::DOM::Document?
in thread Inherit XML::DOM::Document?
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Inherit XML::DOM::Document?
by braden (Novice) on Apr 07, 2006 at 05:08 UTC |