in reply to Installing a missing module - Perl 5.8.3

Hi

Error: No valid repositories:

Solution is obvious, add ppm repositories

Tried cpan> install Time::Piece But that didn't work either.

*yawn* If you copy/paste the error message, a solution is not far behind

The only 32 bit my IT Admin had was 5.8.6. My OS is Windows Server 2019

LOL

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

Replies are listed 'Best First'.
Re^2: Installing a missing module - Perl 5.8.3
by ikegami (Patriarch) on Jan 25, 2020 at 10:21 UTC

    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.)

      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".