Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Installing a missing module - Perl 5.8.3

by ikegami (Patriarch)
on Jan 25, 2020 at 10:21 UTC ( [id://11111869]=note: print w/replies, xml ) Need Help??


in reply to Re: Installing a missing module - Perl 5.8.3
in thread Installing a missing module - Perl 5.8.3

One of the following is true:

A module compiled with 5.8.6 works with Perl 5.8.3, all else being equal.

A module compiled with 5.8.3 works with Perl 5.8.6, all else being equal.

I don't remember which. Maybe someone can remind me?

The point is that a module for the wrong version might still work for you.

(Oops, was meant to be a reply to the OP.)

  • Comment on Re^2: Installing a missing module - Perl 5.8.3

Replies are listed 'Best First'.
Re^3: Installing a missing module - Perl 5.8.3
by syphilis (Archbishop) on Jan 25, 2020 at 13:53 UTC
    AIUI, an extension compiled with 5.x.a is guaranteed to work with 5.x.b if and only if a <= b && $Config{archname} has not changed.
    So, yes - a build of Time::Piece that was compiled with perl-5.8.3 should be fine with perl-5.8.6.
    It's highly unlikely that Windows builds of perl-5.8.3 and perl-5.8.6 would differ in $Config{archname}.

    Cheers,
    Rob

      Thanks. It's backwards for the OP's needs. It might still work, but it's not guaranteed to work.

      Note that $Config{archname} equality isn't enough. That's why I said "all else being equal".

        Note that $Config{archname} equality isn't enough

        UPDATE: I think I've now figured it out - that you were alluding to the possibility of different toolchain involvement, different external dependencies, etc.

        I didn't know that.
        This would also imply that 2 perls with the same version number and same $Config{archname} could be binary-incompatible.
        For over a quarter of a century, PPM installations have relied entirely (and flawlessly) solely upon version number and $Config{archname} to determine which package to install - and now you're telling me that's insufficient.

        Can you please provide an example of a difference that could cause incompatibility, yet not alter $Config{archname} ?

        Cheers,
        Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-20 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found