in reply to Installation of 2 module prerequisites failing - using cpanm

File::Temp has been bundled with Perl since Perl 5.6.1 was released more than a quarter of a century ago.

Test::More has been included since 5.6.2, almost as long ago.

If your Perl installation cannot find these modules, there are likely deeper issues at play.

  • Comment on Re: Installation of 2 module prerequisites failing - using cpanm

Replies are listed 'Best First'.
Re^2: Installation of 2 module prerequisites failing - using cpanm
by LanX (Saint) on Apr 29, 2026 at 11:33 UTC
    Hi tobyink

    You haven't been here for a while, welcome back! :)

    So you know

    > likely deeper issues at play

    Multiple conflicting Perl installations and messed up environment variables are a recurring theme in many posts of this particular monk.

    Compare last 2 years of threads by this OP (click search)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

Re^2: Installation of 2 module prerequisites failing - using cpanm
by Corion (Patriarch) on Apr 29, 2026 at 13:51 UTC

    I think part of it is the use of --self-contained, while also not having the core modules available maybe due to overriding PERL5LIB and Perl itself not supplying the correct path, maybe due to running a Win32 Perl while expecting a Cygwin Perl.