Subject: | Unable to install using "install Perl::Critic" in CPAN client |
When I try to install Perl::Critic by entering
install Perl::Critic
in Strawberry Perl's CPAN client, it prints the following
Warning: Cannot install Perl::Critic, don't know what it is.
Try the command
i /Perl::Critic/
to find objects with matching identifiers.
If I run the suggested command, it lists a lot of modules, but none of
them are Perl::Critic. It does include the following line, however:
Module =
Perl::Critic::Policy::RegularExpressions::RequireDotMatchAnything
(THALJEF/perlcritic/Perl-Critic-1.092.tar.gz)
I can install Perl::Critic by running
install Perl::Critic::Policy::RegularExpressions::RequireDotMatchAnything
or
install THALJEF/perlcritic/Perl-Critic-1.092.tar.gz