That will make sure all setup code is run before any calls to those packages are made. (The problem with your code is that Manager->new_worker() is called before @Manager::ISA is set)
Joost.
update: and use bless {}, $classname;
In reply to Re: inheritance problems
by Joost
in thread inheritance problems
by michaelg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |