From perlmod:
a package may also derive some of its methods from another class (package) by listing the other package name(s) in its global @ISA array (which must be a package global, not a lexical).By using @ISA, no forwarding functions are needed if the methods are the same, so it's more efficient. It's also the standard practice. Is there some reason @ISA doesn't work in this situation?
Note: I'm no expert and don't know whether using @ISA invokes the AutoLoader, which you seek to avoid, but were I in your shoes I'd be doing inheritance in the standard way using @ISA and then dealing with any AutoLoader issues.
Update: I'm not clear on your constraint not to use 'bless', but the @ISA behavior works without bless. Note that the example in 'perlmod' is introduced as 'a traditional, non-OO module called Some::Module', yet it includes
(Updated again to ask about ISA working in this situation.)@ISA = qw(Exporter);
In reply to Re: Forwarding functions to a different module
by tod222
in thread Forwarding functions to a different module
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |