LWP leaking handlers on NT
Paul Salaberria (paultxo@hotmail.com)
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