in reply to cpan install MVS::JESFTP failed

If you want to see more verbose error output, try the following:

cpan[1]> look MVS::JESFTP perl Makefile.PL make make test

Looking at the source code of the failing test, it dies because it can't connect to an (old, old) machine:

my($host, $logonid, $password, $job, $jobname) = ('nmgsdisd.state.nm.us', 'DPMIKE', 'JTREE', './TEST.SEQ', 'DPMIKE1 +'); $jes = MVS::JESFTP->open($host, $logonid, $password) or die "not ok 2\ +n";

So, maybe the module works ,but it's just the tests that are bad... If you edit that test and supply better credentials, maybe it passes its test suite.

Looking at its source, it's just a thin wrapper around Net::FTP, so if you feel uncomfortable with using a module that fails its tests, reimplementing the functionality from reading its source should get you just as far.

Replies are listed 'Best First'.
Re^2: cpan install MVS::JESFTP failed
by deanb2 (Initiate) on Jul 18, 2018 at 14:05 UTC
    Appreciate your response. I'm a novice with Linux and Perl; editing the tests is well beyond my comfort level, especially with pressure from my company and client to get something working now. I will come back to this to try editing the tests or maybe force the install.