On Sun, 17 Jun 2001, Stas Bekman wrote:

> Doug,
> 
> I was wondering whether
> 
>   use base 'foo';
> 
> won't be shorter than
> 
>   use foo;
>   our @ISA = 'foo';
> 
> in the build modules?

yes, it is shorter :)
 
> or is there any reason for not using 'base.pm'?

base.pm has caused a problem or two for me in the past, but i don't recall
the specifics.  it is slower than the old way and creates some bloat by
calling $pkg->isa($base), which in turn creates *$pkg::::ISA::CACHE::
so i prefer to avoid it in general.  for build modules it probably doesn't
matter, but habit/practice tends to keep me away from base.pm






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to