Use base is intended to include code from another another package into your current one. The way I am reading your code, it looks like you are trying to base an object and hope that it inherits its methods, and that is not right. use base should be used like this,
package My::New::Module::Admin; use base 'My::New::Module::WWW';
All the code in My::New::Module::WWW is now available in your child package My::New::Module::Admin. Does that help?
In reply to Re: Confused by use base, I think.
by Herkum
in thread Confused by use base, I think.
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |