in reply to 'base' versus @ISA, why?

It documents your intent a bit better and it automatically loads the parent module.

Replies are listed 'Best First'.
Re^2: 'base' versus @ISA, why?
by bart (Canon) on Jul 23, 2007 at 10:56 UTC
    ... and it automatically loads the parent module.
    Sometimes.

    base is a pretty unreliable module, in my experience, and it must be related to the heuristic method it uses to determine whether a module file needs to be loaded, or not. Sometimes, it guesses wrong.

    update Apparently tye has had similar experiences.

      Looking at the source, I don't see it doing anything except checking if the module is already in your @ISA. That seems pretty sane to me.
        It's checking ${"$package\::VERSION"} or something to that effect, while a package is not required to have a $VERSION variable.

        Maybe its behavior has been sanitized, but the damage is done. My trust has been shaken.