Re: "Simple" Question
Marc Langheinrich (marclang@cs.washington.edu)
Fri, 2 May 1997 11:41:38 -0700 (PDT)
Looks like it can't find the submodule LWP::Protocol::http in your path.
Have you tried
use lib "your/path/to/your/local/perl5/lib/";
Your LWP::Protocol module should be somewhere here then:
your/path/to/your/local/perl5/lib/LWP/Protocol.pm
and the module you're looking for at
your/path/to/your/local/perl5/lib/LWP/Protocol/http.pm
Hope that helps!
Marc
On Fri, 2 May 1997, Bill Melvin wrote:
> Ive been wrestiling with libwww for awhile now on my ISP's server.
> Im no UNIX expert but it looks like PERL 5.002 on SunOS 5.4.
> Ive successfully installed local copies (since I dont have root access) of
> the libs required (I think) and have tried to
>
> use LWP::Simple;
> getprint('http://www.perl.com/');
>
> which yields:
>
> ><HTML>
> ><HEAD>
> ><TITLE>
> >An Error Occurred
> ></TITLE>
> ></HEAD>
> ><BODY>
> ><H1>An Error Occurred</h1>
> >501 - Protocol scheme 'http' is not supported
> >
> ></BODY>
> ></HTML>
>
> Like I said I'm no expert in UNIX or PERL so the trail gets cold for me
> around "sub error_as_HTML". I can't figure out if this is a problem with my
> code, my PERL installation or something bigger I need to bring up with my
> ISP?? Anyone know of a good place for me to start tracking this down.
>
> Any insight would be appreciated.
> Thanks,
> Bill
>
> Bill Melvin (bmelvin@gbnintl.com)
> GBN Intl Inc.
> 1109 Delaware Ave.
> Buffalo NY 14209
> 716-884-2655
>
>
>
---
Marc Langheinrich Department of Computer Science & Engr.
office phone: (206) 543-5129 University of Washington, Box 352350,
email: marclang@cs.washington.edu Seattle, WA 98195-2350, USA
www: http://www.cs.washington.edu/homes/marclang/