On Mon, 18 Jun 2001, Doug MacEachern wrote:
> 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
i've been using isa() in my stuff quite a bit for type
checking. sad to hear it causes bloat! sadder to find out
that if you specify >1 class with 'use base', isa() only
tests positively for the first specified class :/
is can() just as bloaty?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]