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

I am trying to intall HTML::Form for ActivePerl. When I run makefile.pl, it gives me this error:

Can't locate IO/Socket/INET.pm in @INC (@INC contains: D:/Perl/lib D:/Perl/site/ lib .) at Makefile.PL line 44.

I know that I/O::Socket is installed in my computer. I have used it recently and I can see it on the ActivePerl documentation. I searched for inet.pm, it does not exist. Do i need to install I/O::Socket again? Any ideas?

Thanks,
Mak

Replies are listed 'Best First'.
Re: Installing a module
by chipmunk (Parson) on May 16, 2001 at 01:49 UTC
    The code for IO::Socket::INET is included in the IO/Socket.pm file. To get the IO::Socket::INET stuff (or the IO::Socket::UNIX stuff), you just load the IO::Socket module:

    use IO::Socket::INET; # wrong! use IO::Socket; # right
    But, I don't know why you would get this error from installing HTML::Form, which is part of libwww-perl...
      I was probably not clear enough in my question. What I need is to use HTML::Form which comes with libwww-perl. I am installing Bundle::LWP with the command "perl -MCPAN -e install Bundle::LWP". Is there any module installation manual for Activeperl that I can take a look at?

      mak
        Is there any module installation manual for Activeperl that I can take a look at?

        ActiveState's installed is called PPM (Perl Package Manager).

        Get to a DOS prompt, type ppm then help

        There's also some online HTML documentation that installs along with ActiveState Perl.   Start > Programs > ActiveState ActivePerl > Documentation will get you to an index. Then look for PPM.

Re: Installing a module
by olly (Scribe) on May 16, 2001 at 02:22 UTC
    You can download the trial of perl dev kit from ActiveState, it comes with a cool webinterface for installing almost every module just by check a box and saying install

    Imagination is more important then knowledge -Einstein-