in reply to Re^5: Abstract Factory
in thread Abstract Factory
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
|
|---|