rename B.pm to BB.pm and change the package name and "use base" statement in C.pm and this will work:
#!/usr/bin/perl use C; C->foo();
In reply to Re: Inheritance strangeness
by Joost
in thread Inheritance strangeness
by cleverett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |