in reply to How to call AUTOLOAD before @ISA?
So now your main will do what you want. I have just made &A::new synonomous with &B::new in the symbol table so you only have to maintain one new function. I dont this this would be too much work to just alias the symbols for each function that you want.package B; *new = \&A::new; sub AUTOLOAD { print "autoload in B, called as $AUTOLOAD\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: How to call AUTOLOAD before @ISA?
by ZZamboni (Curate) on May 10, 2000 at 05:20 UTC | |
by chromatic (Archbishop) on May 10, 2000 at 18:33 UTC | |
by perlmonkey (Hermit) on May 10, 2000 at 05:45 UTC |