Can't locate object method "new" via package "AFactory" at new.pl line 31.
That's because package "AFactory" hasn't got any method called "new". See?
Did you think it should get it from a parent class, the one called "first" maybe?
Then you need to specify that using either use base 'first'; or push @ISA, 'first';.
Cheers, Sören
In reply to Re^6: Abstract Factory
by Happy-the-monk
in thread Abstract Factory
by Khatri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |