From owner-freebsd-ports@FreeBSD.ORG Sun Sep 4 17:23:06 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E525416A41F for ; Sun, 4 Sep 2005 17:23:06 +0000 (GMT) (envelope-from ckjmaner@yahoo.com) Received: from web54515.mail.yahoo.com (web54515.mail.yahoo.com [206.190.49.165]) by mx1.FreeBSD.org (Postfix) with SMTP id 6274E43D45 for ; Sun, 4 Sep 2005 17:23:06 +0000 (GMT) (envelope-from ckjmaner@yahoo.com) Received: (qmail 32266 invoked by uid 60001); 4 Sep 2005 17:23:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RkpUfVSkFuKcF5eSIwHCgsTJystN3t4K7yE0W6t4uhdlLRgDEI5+edR9VT13XCud4mU1cq9O72mWtNtK0NyTXsWrwc1xTnHToqJP6AJioF6b0o3DaNj89xNPscHvQJbbrfswGgQCnp8EjzNWC4Kx/OmbXgIFRSdndtfTKu2eAfY= ; Message-ID: <20050904172305.32264.qmail@web54515.mail.yahoo.com> Received: from [207.69.91.50] by web54515.mail.yahoo.com via HTTP; Sun, 04 Sep 2005 10:23:05 PDT Date: Sun, 4 Sep 2005 10:23:05 -0700 (PDT) From: Charles Maner To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Perl libwww--LWP::Simple X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2005 17:23:07 -0000 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