Now calls to MainOne::Foo would still go to MainOne itself, right? You could provide new functions with this idea, but not override existing ones.package MainOne; sub foo { ...} package NewPlugin; unshift @MainOne::ISA, __PACKAGE__; sub foo { warn "new plugin!" ... }
dave hj~
In reply to Re: (tye)Re: plugins and inheritance
by dash2
in thread plugins and inheritance
by dash2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |