in reply to Re^2: base.pm vs @ISA
in thread base.pm vs @ISA

You are also forgetting that it sets $VERSION for you if you haven't already done it. I found that incredibly confounding when working with some Inline::C code.

$Your::Module::VERSION = '-1, set by base.pm.';

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^4: base.pm vs @ISA
by Somni (Friar) on Oct 09, 2007 at 22:52 UTC
    Aha, so it does. How exactly did it confound you?

      Inline::C compiled a .so file with the version 0.00 while the perl was '-1, set by base.pm.'. DynaLoader expects the two to match and throws an error if they don't but Inline was hiding it so I had to dig deeply to watch the error come up.

      ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊