in reply to •Re^4: goto superclass method
in thread goto superclass method
You claimed the current __PACKAGE__ affects the result of Foo->SUPER::can( 'bar' ):
when you start saying sub Foo::bar, the __PACKAGE__ doesn't change to Foo, so you have a problem with SUPER.
I posted code where changing packages, and thus __PACKAGE__, is inconsequential, contrary to your claim.
So the reasoning in my initial post about why the goto there is an infinite loop is correct.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re^6: goto superclass method
by merlyn (Sage) on Dec 22, 2004 at 23:53 UTC | |
by Aristotle (Chancellor) on Dec 23, 2004 at 00:14 UTC | |
by merlyn (Sage) on Dec 23, 2004 at 00:22 UTC | |
by Aristotle (Chancellor) on Dec 23, 2004 at 00:26 UTC | |
by merlyn (Sage) on Dec 23, 2004 at 00:30 UTC | |
|