flummoxed by cpanm behavior (re: dependenciesby chexmix (Hermit)
|on Apr 30, 2018 at 18:47 UTC
chexmix has asked for the wisdom of the Perl Monks concerning the following question:
Hallo Fellow Monks,
I'm trying to get back to being a reasonably effective Perl user at work, which is difficult since much of my work lately has involved, well ... other things.
I've installed my own local copy of perlbrew (so as to have a Perl playground) and I've got a number of Perl versions installed underneath that. Now, perhaps I've forgotten something vital, but I feel anyway as though weird things are happening when I try to install modules with cpanm. I've been getting a lot of this sort of thing lately:
Unless I'm being very stupid, that's me trying to install Getopt::Lucid, with cpanm finding a dependency (Exception::Class::TryCatch) and installing it (apparently successfully) then failing because it can't find that same dependency -- after which I install the dependency by itself, which succeeds (again); however, when I then try to install Getopt::Lucid, the install fails again because of the same dependency which I thought I had successfully installed (perhaps twice).
It could be that I'm just tired, but what could be wrong here? The behavior does not make sense to me.
A tired old f*rt,