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.
In reply to Re^5: goto superclass method
by Aristotle
in thread goto superclass method
by avarus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |