Subject: | CPANPLUS won't install distros by name (e.g. Scalar-List-Utils) |
I've noticed that cpanp can install WWW-Mechanize, but not
Scalar-List-Utils. This seems wrong, since it ought to know that this is
a valid distribution. (I chose WWW-Mechanize because it is a
distribution which happens to contain a module called WWW::Mechanize;
Scalar-List-Utils contains no Scalar::List::Utils module.)
$ cpanp CPANPLUS::Shell::Default -- CPAN exploration and module
installation (v0.88)
[snip]
CPAN Terminal> install Scalar-List-Utils
[ERROR] 'Scalar-List-Utils' does not contain an author part
[ERROR] Cannot find 'Scalar-List-Utils' in the module tree
No such module: Scalar-List-Utils
No modules found to operate on! Nothing done
Indeed, it cannot install PathTools (Cwd and File::Spec), libwww-perl
(the LWP modules), nor perl-ldap (Net::LDAP et al.). It seems that if
the distribution is not also the name of a module it includes, CPANPLUS
can't find it.
CPANPLUS::Backend->parse_module has a similar problem, even though the
manpage for it implies it can handle multiple forms of module names and
distribution names.