Date: Sun, 4 Sep 2005 10:23:05 -0700 (PDT) From: Charles Maner <ckjmaner@yahoo.com> To: freebsd-ports@freebsd.org Subject: Perl libwww--LWP::Simple Message-ID: <20050904172305.32264.qmail@web54515.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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 error 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 well as MacOSX 10.4/Tiger (stock Perl 5.8.6 with CPANed LWP). 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 posted 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. Thanks, Charles
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050904172305.32264.qmail>