ethrbunny has asked for the wisdom of the Perl Monks concerning the following question:

I went to install Getopt::Std via CPAN on a new machine this am. It tried to install Perl 5.15.4 and gave me a lecture about debugging perl.

What did I do wrong?

Currently running 5.8.8.

Replies are listed 'Best First'.
Re: CPAN: Getopt::Std - debug?
by moritz (Cardinal) on Jan 20, 2012 at 13:37 UTC

    Getopt::Std is a core module and apparently not dual-lived, so it can't be installed separately from perl.

    But I find it surprising that it tried to give you a development version of perl, and I don't know what you mean with "a lecture about debugging perl". It might help to post the actual output here.

    It might be a bug in CPAN, and it might be fixed by upgrading to a newer perl. Come on, perl 5.8.8 is more than 6 years old, time to try something new!

      5.8.8 is what's being pushed by RHEL 5.

      Here's the 'lecture' I got:

      *** WHOA THERE!!! ***

      This is an UNSTABLE DEVELOPMENT release.

      The version of this perl5 distribution is 15, that is, odd,

      (as opposed to even) and that signifies a development release.

      If you want a maintenance release, you want an even-numbered version.

      Do ***NOT*** install this into production use.

      Data corruption and crashes are possible.

      It is most seriously suggested that you do not continue any further

      unless you want to help in developing and debugging Perl.

      If you *still* want to build perl, you can answer 'y' now,

      or pass -Dusedevel to Configure.

      Do you really want to continue? n n Okay, bye.

        What you are seeing is the standard warning when you try to install a nondual-lived core module.
Re: CPAN: Getopt::Std - debug?
by runrig (Abbot) on Jan 20, 2012 at 17:57 UTC
    If your current version of perl does not have Getopt::Std, then your perl is broken, and you should think about re-installing it, or installing a newer version (maybe in a different location than the system perl).
Re: CPAN: Getopt::Std - debug?
by Anonymous Monk on Jan 21, 2012 at 03:49 UTC