KyussRyn has asked for the wisdom of the Perl Monks concerning the following question:

Ok I am very new to Perl and am trying to install HTML::Form. So I copied the module from http://search.cpan.org/~gaas/libwww-perl-5.837/ to c:\XXX\libwww-perl-5.837. I then went to the DOS prompt and did wrote the command "perl Makefile.PL", and got a 'Makefile' file in the same directory. I then ran "nmake" from the command prompt and got:
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporatio. All rights reserved. syntax Error at -e line 1, near "'755') " MIssing right curly or square bracket at -e line 1, at end of line Execution of -e aborted due to compilation errors. NMAKE: fatal error u1077: 'C:\perl\perl\bin\perl.exe' : return code '0 +xff' Stop.
I am using StrawberryPerl version 5.12.1 built for MSWIN32-x86-multi-thread. I would use CPAN to install this if I knew how, so if someone knows the command line to do this I would appreciate learning this. I read the install tutorials as well and haven't figured it out from those either. Thanks in advance for any help.

Replies are listed 'Best First'.
Re: Problem installing HTML::Form
by Corion (Patriarch) on Dec 21, 2010 at 07:45 UTC

    Strawberry Perl does not use nmake.exe. It uses dmake.exe (that already comes with it).

    Most likely, you just want to use the all-in-one cpan command to install a module:

    > cpan LWP::UserAgent
Re: Problem installing HTML::Form
by Anonymous Monk on Dec 21, 2010 at 07:46 UTC
    This is true for strawberyperl
    $ perl -V:make make='dmake';
Re: Problem installing HTML::Form
by chorny (Scribe) on Dec 21, 2010 at 20:18 UTC
    From command line:
    cpan HTML::Form
    Or Start button/Programs/Strawberry Perl/CPAN client
    install HTML::Form
Re: Problem installing HTML::Form
by KyussRyn (Acolyte) on Dec 22, 2010 at 04:20 UTC
    Thank you all for your replies. I feel like such a tool missing the DMAKE command. Now I just need to find a good tutorial on using this HTML:Form module :)