XP is just a number | |
PerlMonks |
use base qw(Module); (was Re: Re: Re: Calling a subroutine located in a module)by brother ab (Scribe) |
on Nov 02, 2001 at 12:35 UTC ( [id://122767]=note: print w/replies, xml ) | Need Help?? |
May be it is out of the thread but I must say a word. Be carefull with base pragma, it will only require your base modules, not use them! So import subroutines of the base modules will be ignored. A spot from documentation: Roughly similar in effect to An example:
And now:
You can see base module A is not imported in the first case. -- brother ab
In Section
Seekers of Perl Wisdom
|
|