in reply to Re: Undefining subroutines and inheritance
in thread Undefining subroutines and inheritance
Ah, but it seems to! Try replacing the bottom of the program with:
A->A; # Why doesn't it just call A::A here because of inheritance? B->A; # Not a CODE reference at noinherit.pl line 27. eval "print \$B::A"; # Use of uninitialized value in print at (eval 2) + line 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re3: Undefining subroutines and inheritance
by bbfu (Curate) on Jun 29, 2001 at 02:44 UTC |