I've got a base class Foo, which is an Exporter. It has some function foo(), that it exports automatically. (It's some superclass, for example.) I also have Bar which inherits from Foo and Baz which inherits from Bar. So, I have the following:
package Foo; use Exporter; @ISA = qw(Exporter); @EXPORT = qw(foo); sub foo {} package Bar; @ISA = qw(Foo); package Baz; @ISA = qw(Bar);
Now, I want to have foo() be automatically exported into the namespace for Baz the same way it is for Bar. I can't seem to get PERL to do this. Help?
In reply to Having Exporter export through @ISA by satchboost
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |