BTW: This is libwww-perl-5.69 Ben
-- Ben Srour [EMAIL PROTECTED] On Fri, 9 Jan 2004, Ben Srour wrote: > Hello, > > I'm trying to use Cookies with LWP and it does not seem to be working. > I get the following error: > > Can't locate object method "host" via package "URI::_generic" at > /usr/share/perl5/HTTP/Cookies.pm line 725. > > > My cookie initialization looks like: > $ua = LWP::UserAgent->new; > $ua->agent("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0 " . $ua->agent); > $ua->cookie_jar(HTTP::Cookies->new(file => "cookies.txt", autosave => 1)); > And my request object is used as so: > my $res = $ua->request(GET $url); > > > I'm "use"ing the following: > use HTTP::Request::Common; > use LWP::UserAgent; > use HTTP::Cookies; > use URI::_generic; > > > Any help would be appreciated! > > Thanks > Ben > > > -- > Ben Srour > [EMAIL PROTECTED] > > On 9 Jan 2004 [EMAIL PROTECTED] wrote: > > > Hi! This is the ezmlm program. I'm managing the > > [EMAIL PROTECTED] mailing list. > > > > I'm working for my owner, who can be reached > > at [EMAIL PROTECTED] > > > > Acknowledgment: I have added the address > > > > [EMAIL PROTECTED] > > > > to the libwww mailing list. > > > > Welcome to [EMAIL PROTECTED] > > > > Please save this message so that you know the address you are > > subscribed under, in case you later want to unsubscribe or change your > > subscription address. > > > > > > --- Administrative commands for the libwww list --- > > > > I can handle administrative requests automatically. Please > > do not send them to the list address! Instead, send > > your message to the correct command address: > > > > To subscribe to the list, send a message to: > > <[EMAIL PROTECTED]> > > > > To remove your address from the list, send a message to: > > <[EMAIL PROTECTED]> > > > > Send mail to the following for info and FAQ for this list: > > <[EMAIL PROTECTED]> > > <[EMAIL PROTECTED]> > > > > Similar addresses exist for the digest list: > > <[EMAIL PROTECTED]> > > <[EMAIL PROTECTED]> > > > > To get messages 123 through 145 (a maximum of 100 per request), mail: > > <[EMAIL PROTECTED]> > > > > To get an index with subject and author for messages 123-456 , mail: > > <[EMAIL PROTECTED]> > > > > They are always returned as sets of 100, max 2000 per request, > > so you'll actually get 100-499. > > > > To receive all messages with the same subject as message 12345, > > send an empty message to: > > <[EMAIL PROTECTED]> > > > > The messages do not really need to be empty, but I will ignore > > their content. Only the ADDRESS you send to is important. > > > > You can start a subscription for an alternate address, > > for example "[EMAIL PROTECTED]", just add a hyphen and your > > address (with '=' instead of '@') after the command word: > > <[EMAIL PROTECTED]> > > > > To stop subscription for this address, mail: > > <[EMAIL PROTECTED]> > > > > In both cases, I'll send a confirmation message to that address. When > > you receive it, simply reply to it to complete your subscription. > > > > If despite following these instructions, you do not get the > > desired results, please contact my owner at > > [EMAIL PROTECTED] Please be patient, my owner is a > > lot slower than I am ;-) > > > > --- Enclosed is a copy of the request I received. > > > > Return-Path: <[EMAIL PROTECTED]> > > Received: (qmail 91691 invoked by uid 76); 9 Jan 2004 22:35:44 -0000 > > Received: from [EMAIL PROTECTED] (HELO ran-out.mx.develooper.com) (64.81.84.115) > > by onion.perl.org (qpsmtpd/0.26) with SMTP; Fri, 09 Jan 2004 14:35:44 -0800 > > Received: (qmail 28963 invoked by uid 225); 9 Jan 2004 22:35:42 -0000 > > Delivered-To: [EMAIL PROTECTED] > > Received: (qmail 28958 invoked by uid 507); 9 Jan 2004 22:35:42 -0000 > > Received: from dukat.upl.cs.wisc.edu (HELO dukat.upl.cs.wisc.edu) (128.105.45.39) > > by one.develooper.com (qpsmtpd/0.27-dev) with ESMTP; Fri, 09 Jan 2004 14:35:11 > > -0800 > > Received: from data.upl.cs.wisc.edu (data.upl.cs.wisc.edu [128.105.45.42]) by > > dukat.upl.cs.wisc.edu (Postfix) with ESMTP id 987D5A6C055 for <[EMAIL > > PROTECTED]>; Fri, 9 Jan 2004 16:35:09 -0600 (CST) > > Date: Fri, 9 Jan 2004 16:35:09 -0600 (CST) > > From: Ben Srour <[EMAIL PROTECTED]> > > X-X-Sender: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > Subject: Re: confirm subscribe to [EMAIL PROTECTED] > > In-Reply-To: <[EMAIL PROTECTED]> > > Message-ID: <[EMAIL PROTECTED]> > > MIME-Version: 1.0 > > Content-Type: TEXT/PLAIN; charset=US-ASCII > > X-Spam-Check-By: one.develooper.com > > X-Spam-Status: No, hits=0.6 required=7.0 > > tests=CARRIAGE_RETURNS,CLICK_BELOW,IN_REP_TO,QUOTED_EMAIL_TEXT,SPAM_PHRASE_05_08,TO_BE_REMOVED_REPLY,USER_AGENT_PINE > > version=2.44 > > X-SMTPD: qpsmtpd/0.26, http://develooper.com/code/qpsmtpd/ > > > > > > > > -- > > Ben Srour > > [EMAIL PROTECTED] > > > > On 9 Jan 2004 [EMAIL PROTECTED] wrote: > > > > > Hi! This is the ezmlm program. I'm managing the > > > [EMAIL PROTECTED] mailing list. > > > > > > I'm working for my owner, who can be reached > > > at [EMAIL PROTECTED] > > > > > > To confirm that you would like > > > > > > [EMAIL PROTECTED] > > > > > > added to the libwww mailing list, please send > > > an empty reply to this address: > > > > > > [EMAIL PROTECTED] > > > > > > Usually, this happens when you just hit the "reply" button. > > > If this does not work, simply copy the address and paste it into > > > the "To:" field of a new message. > > > > > > or click here: > > > mailto:[EMAIL PROTECTED] > > > > > > This confirmation serves two purposes. First, it verifies that I am able > > > to get mail through to you. Second, it protects you in case someone > > > forges a subscription request in your name. > > > > > > Some mail programs are broken and cannot handle long addresses. If you > > > cannot reply to this request, instead send a message to > > > <[EMAIL PROTECTED]> and put the > > > entire address listed above into the "Subject:" line. > > > > > > > > > --- Administrative commands for the libwww list --- > > > > > > I can handle administrative requests automatically. Please > > > do not send them to the list address! Instead, send > > > your message to the correct command address: > > > > > > To subscribe to the list, send a message to: > > > <[EMAIL PROTECTED]> > > > > > > To remove your address from the list, send a message to: > > > <[EMAIL PROTECTED]> > > > > > > Send mail to the following for info and FAQ for this list: > > > <[EMAIL PROTECTED]> > > > <[EMAIL PROTECTED]> > > > > > > Similar addresses exist for the digest list: > > > <[EMAIL PROTECTED]> > > > <[EMAIL PROTECTED]> > > > > > > To get messages 123 through 145 (a maximum of 100 per request), mail: > > > <[EMAIL PROTECTED]> > > > > > > To get an index with subject and author for messages 123-456 , mail: > > > <[EMAIL PROTECTED]> > > > > > > They are always returned as sets of 100, max 2000 per request, > > > so you'll actually get 100-499. > > > > > > To receive all messages with the same subject as message 12345, > > > send an empty message to: > > > <[EMAIL PROTECTED]> > > > > > > The messages do not really need to be empty, but I will ignore > > > their content. Only the ADDRESS you send to is important. > > > > > > You can start a subscription for an alternate address, > > > for example "[EMAIL PROTECTED]", just add a hyphen and your > > > address (with '=' instead of '@') after the command word: > > > <[EMAIL PROTECTED]> > > > > > > To stop subscription for this address, mail: > > > <[EMAIL PROTECTED]> > > > > > > In both cases, I'll send a confirmation message to that address. When > > > you receive it, simply reply to it to complete your subscription. > > > > > > If despite following these instructions, you do not get the > > > desired results, please contact my owner at > > > [EMAIL PROTECTED] Please be patient, my owner is a > > > lot slower than I am ;-) > > > > > > --- Enclosed is a copy of the request I received. > > > > > > Return-Path: <[EMAIL PROTECTED]> > > > Received: (qmail 82728 invoked by uid 76); 9 Jan 2004 22:18:56 -0000 > > > Received: from x1.develooper.com (HELO x1.develooper.com) (63.251.223.170) by > > > onion.perl.org (qpsmtpd/0.26) with SMTP; Fri, 09 Jan 2004 14:18:56 -0800 > > > Received: (qmail 9054 invoked by uid 225); 9 Jan 2004 22:18:55 -0000 > > > Delivered-To: [EMAIL PROTECTED] > > > Received: (qmail 9050 invoked by alias); 9 Jan 2004 22:18:54 -0000 > > > Received: from dukat.upl.cs.wisc.edu (HELO dukat.upl.cs.wisc.edu) > > > (128.105.45.39) by la.mx.develooper.com (qpsmtpd/0.27-dev) with ESMTP; Fri, 09 > > > Jan 2004 14:18:43 -0800 > > > Received: from data.upl.cs.wisc.edu (data.upl.cs.wisc.edu [128.105.45.42]) > > > by dukat.upl.cs.wisc.edu (Postfix) with ESMTP id 91E91A6C054 for <[EMAIL > > > PROTECTED]>; Fri, 9 Jan 2004 16:18:39 -0600 (CST) > > > Date: Fri, 9 Jan 2004 16:18:39 -0600 (CST) > > > From: Ben Srour <[EMAIL PROTECTED]> > > > X-X-Sender: [EMAIL PROTECTED] > > > To: [EMAIL PROTECTED] > > > Message-ID: <[EMAIL PROTECTED]> > > > MIME-Version: 1.0 > > > Content-Type: TEXT/PLAIN; charset=US-ASCII > > > X-Spam-Check-By: la.mx.develooper.com > > > X-Spam-Status: No, hits=3.4 required=7.0 > > > tests=CARRIAGE_RETURNS,RAZOR_CHECK,SPAM_PHRASE_00_01,SUBJ_MISSING,USER_AGENT_PINE > > > version=2.44 > > > X-SMTPD: qpsmtpd/0.26, http://develooper.com/code/qpsmtpd/ > > > > > > > > > > > > -- > > > Ben Srour > > > [EMAIL PROTECTED] > > > > > > >