package Child; use base qw(Mother Father);
base pragma not only includes extended classes in @INC, but 'require's them.
Additionally, it is integrated with fields pragma (if you like strict data members protection)
In reply to Re: How can I make one class extend another one?
by brother ab
in thread How can I make one class extend another one?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |