in reply to Re: Class Inheritance without an instance
in thread Class Inheritance without an instance / $AUTOLOAD equ
I am stuck with this kind of call:
rather than this kind:package main; B::foo();
which would be the same in practice (I believe) as:package main; B->foo();
My problem is that neither the class name nor an instance are being passed. But it's still originally called as B::foo, so when I get to A::foo, it seems like it should be _somewhere_ that it was B::foo at first.package main; B::foo(B);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Class Inheritance without an instance
by dave_the_m (Monsignor) on Oct 13, 2005 at 11:58 UTC | |
by dynamo (Chaplain) on Oct 13, 2005 at 12:07 UTC | |
by dave_the_m (Monsignor) on Oct 13, 2005 at 12:24 UTC | |
|
Re^3: Class Inheritance without an instance
by Perl Mouse (Chaplain) on Oct 13, 2005 at 12:00 UTC | |
|
Re^3: Class Inheritance without an instance
by dynamo (Chaplain) on Oct 13, 2005 at 11:57 UTC |