LWP Modules

Rob Bloodgood robb at empire2.com
Fri Aug 31 13:43:54 CDT 2001


> I am trying to use a program that utilizes the LWP Perl Modules on my
> server and they are not working. I am using a virtual server with AIT. I
> have located the modules on my server at:
> /usr/lib/perl5/site_perl/5.005/LWP but AIT says they are not there. They
> tell me for 20.00 they will load them, so to end all this I am
> going to pay the 20 so that I can force them to fix the problem.
>
> My problem is for them to install the module for me they need me
> to provide
> the following 2 pieces of the puzzle:
>
> 1) They want a copy of the module. I have been to CPAN but have no idea
> exactly what part is the full LWP module or to be quit honest what to send
> them.
>
> 2) They want me to tell them where to install them. And to be honest again
> I have not got a clue.

using CPAN, I pulled down Bundle::LWP and it lists:

URI is up to date.
Net::FTP is up to date. (this one is libnet-*.tar.gz)
MIME::Base64 is up to date.
Digest::MD5 is up to date.
HTML::Tagset is up to date.
HTML::Parser is up to date.
HTML::HeadParser is up to date.
LWP is up to date. (libwww-*.tar.gz)

A good way to find them is to look at:
http://www.perl.com/CPAN-local/modules/by-module
(alternatively, s/-local// and be redirected to a "local" mirror).

If it was me, I would pull down the .tgz files from CPAN, and write a
install.sh script like:

for a in source/*; do tar xvfz `basename $a`; cd `basename $a`; perl
Makefile.PL; make && make test && make install; cd ..; rm -rf `basename $a`;
done

and put them in a tarfile of
install.sh
source/(modules here)

Alternatively, you could put the modules in your own userspace and twiddle
with @INC.

But what you should REALLY do is explain to the person that the pissy little
tech works for that they are stealing $20 from you, that these things are an
integral part of what perl is, that the installation process is
automatically handled by perl, and it's obvious that they are completely
ignorant of how the Web REALLY works if they are afraid to install a couple
of Perl modules.

But of course, that's just me... :-)

Have a nice day!

L8r,
Rob

#!/usr/bin/perl -w
use Disclaimer qw/:standard/;


TIMTOWTDI



More information about the Pdx-pm-list mailing list