cpanm Module::Name
| [reply] [Watch: Dir/Any] [d/l] [select] |
| [reply] [Watch: Dir/Any] |
Thank you. I am using a version of Perl from a commercial organisation since I use applications from that organisation that are based on this version of Perl. Therefore I do not see how changing to Strawberry Perl is an option I can easily take.
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] [d/l] |
ppm install dmake
If it's an older version of perl, AS might deny access to the ppm repo (unless a fee is paid).
If access to the ppm repo is available, the OP can also install LWP::UserAgent and associated modules with:
ppm install libwww-perl
Cheers, Rob | [reply] [Watch: Dir/Any] [d/l] |
I thought this was a April Fool's posting, until I actually went to node 128077 (A Guide to Installing Modules). It does indeed specifically recommend getting nmake, particularly. Which seems bizarre to me. The normal recommendation I've seen is that if the only make you have is nmake, the first thing you do is get a better make.
Allow me to second the recommendation of using Strawberry Perl, which ships with a mostly-working CPAN.pm. If that isn't good enough, there's always cygwin. Or, if you have the misfortune to be on Ten, you also have WSL as a consolation prize.
| [reply] [Watch: Dir/Any] |
Which seems bizarre to me. The normal recommendation I've seen is that if the only make you have is nmake, the first thing you do is get a better make.
While that may or may not be your personal conviction, this is not good advice to use when trying to find the appropriate make tool to use with your Perl tool chain.
For Perl, you use whatever make tool is listed by:
perl -V:make
On Strawberry Perl, this is dmake, and dmake happens to be shipped with Strawberry Perl already.
On (older versions of) ActiveState Perl and many things using the MSVC tool chain, this outputs nmake and it behooves you to use nmake as your build tool then, because all the tools within the Perl ecosystem that care about $Config{make} will output Makefiles compatible with the nmake slang of make then. | [reply] [Watch: Dir/Any] [d/l] [select] |