In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Edwin Gunthner)
wrote:
> Well, and it simply doesnt work; perl tells me that:
> Global symbol "@ISA" requires explicit package name at
> .\/B/C/DescendantOfMyClass.pm line 6.
> Any idea whats wrong here?
always start with h2xs :)
http://
that's not a problem with inheritance, but with 'strict'
do something like:
use vars qw(@ISA);
regards,
Jos
- Original Message -
From: "Edwin Günthner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 06, 2001 1:19 PM
Sub
Hi there,
I have the following files:
B\
MyClass.pm
C\
DescendantOfMyClass.pm
MyClass looks like this:
>>>
package B::MyClass;
...
<<<
and DescendantOfMyClass looks like this:
>>>
package B::C::DescendantOfMyClass;
use B::MyClass;
@ISA = qw(B::MyClass);
...
<<<
Well, and it