in reply to inheritance problems
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;
|
|---|