Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: base.pm vs @ISA

by diotalevi (Canon)
on Oct 08, 2007 at 20:23 UTC ( #643558=note: print w/replies, xml ) Need Help??


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.

      ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://643558]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2020-10-27 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (256 votes). Check out past polls.

    Notices?