installing on SunOS 4.1.3

Alex Rice (alrice@swcp.com)
Wed, 2 Oct 1996 20:42:56 -0600 (MDT)


Hi All. I'm new to this module, and could use some help. I just installed
libwww-perl-5.03 on SunOS 4.1.3. It passed the make test.

When I try to run my first script (appended), I get the error 

	Can't locate auto/LWP/UserAgent/_need_proxy.al in @INC at
	/usr/local/lib/perl5/site_perl/LWP/UserAgent.pm line 190

I also installed the same version on a Solaris machine on the same network,
and it seems to work fine so far. Any ideas on what could be broken on the
SunOS?

thanks a bunch

-- 
Alex Rice - alrice@spaceplace.com \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
Southwest Cyberport - alrice@swcp.com  \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_Oblique strategy:(organic) machinery

#!/usr/local/bin/perl

use LWP::UserAgent;
require HTTP::Request;

# create a new user agent
$ua = new LWP::UserAgent;
$ua->agent("URL-Fresh/0.1");

# slurp the URL's from the command line

while ($url = shift @ARGV) {

    unless ($url =~ /http/i) {
	die"only http is supported so far. $url \n";
    }
    $request = new HTTP::Request 'GET' => $url;    
    $response = $ua->request($request);
    if ($response->is_success) {
	print "ok\n";
	print $response->content;
    } else {
	print "not ok\n";
	print $response->error_as_HTML;
    }
}