Cookies and LWP::UARobot
Paul Salaberria (paultxo@hotmail.com)
Thu, 15 Apr 1999 09:01:57 PDT
Does anybody know how I can request the pages for a site where
cookies are compulsory with the LWP::UARobot library ?
Paul
>From: Paul Salaberria <paultxo@hotmail.com>
>To: libwww-perl@ics.uci.edu
>Subject: LWP leaking handlers on NT
>Date: Tue, 02 Mar 1999 11:26:41 PST
>
>The following subroutine leaks handlers. When invoked repeatedly
within
>a process. The subroutine leaks handlers and eventually crashes the
NT
>session.
>
>How can I avoid this ?
>
>Paul
>**********************************************************
>use LWP::RobotUA;
>use HTTP::Request;
>use HTTP::Response;
>
>sub xxx
>{
> $URL0 = shift;
>
> my $ua = new LWP::RobotUA
('hcat_RobotUA', 'perislov@hotmail.com');
> my $request = new HTTP::Request('HEAD', $URL0);
> my $response = $ua->request($request);
> return ($response->is_success)
>}
>**********************************************************
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com