ckjmaner at yahoo.com
Tue Sep 6 19:49:52 PDT 2005
--- Charles Maner <ckjmaner at yahoo.com> wrote:
> Hi all. I've come across an issue with the
> LWP::Simple Perl module. When I use getstore to
> retrieve an actual filename such as .pdf/.ppt/.jpg,
> LWP::Simple::getstore works well/as advertised.
> However, if it's plain html, (e.g.,
> http://biz.yahoo.com/i/), it does not return an
> code, but also returns no filename either. The
> identical code, as indicated above, runs as is
> beautifully on Win32 (ActiveState Perl 5.8.7) as
> as MacOSX 10.4/Tiger (stock Perl 5.8.6 with CPANed
> I do notice, though, this site wants to plant a
> cookie. Would this be an issue on FreeBSD's libwww
> port? If so, any idea how to fix it/work around or
> should I use the LWP::UserAgent module?
> I've researched a bit and a couple others have
> the same question, but with no response/answer to
> fixing it.
> I'm running FreeBSD STABLE 5.4, Perl v. 5.8.7, with
> latest p5-libwww port.
> Again, any thoughts would be greatly appreciated.
Hi all. I received some much needed help for which I
owe much gratitude. The ultimate issue was that, for
some reason, the HTTP::Parser was not installed. It
was not until I ran LWP::UserAgent for a given website
and checked the status that a return code, I think
500, was issued stating that I did not have this
module installed. I installed it, p5-HTTP-Parser, and
all is well.
Thanks much for the help all.
More information about the freebsd-ports