DESTROY.al not found ?

Alex Bernardin (alexjb@cnet.com)
Mon, 10 Mar 1997 04:49:32 -0800 (PST)


-----BEGIN PGP SIGNED MESSAGE-----


hi,

  For various reasons, I put a signal handler into my code to catch
the __DIE__ signal.  With the handler in place, I noticed the
following errors cropping up at the conclusion of the program
execution:

Can't locate auto/LWP/UserAgent/DESTROY.al in @INC during global destruction.
Can't locate auto/LWP/UserAgent/DESTROY.al in @INC during global destruction.
 at ./eraseme.pl line 0


  I have checked as much as I can and found no DESTROY.al file in the
distribution, or in the installed library path.  Should I expect to
get this error?

  I am running Perl5.002, LWP 5.03, on SunOS 5.5.1, on a Sparc4

  Just for kicks, I made the following stripped down program, and
still get the same 2 error messages...

............................................

#!/usr/local/bin/perl5.002/perl 

require LWP::UserAgent;
    $ua = new LWP::UserAgent;
    $ua->agent("Bond_JamesBond/.007");
    $ua->from("bond\@nowhere.com");
    $request = new HTTP::Request('HEAD',"http://www.cnet.com/");


$SIG{__DIE__} = sub {
    print("ALMOST DIED::\n",@_);
};

print"start\n";

$request->header("Accept" => "*/*; mxb=200");
$response = $ua->request($request);
$ret_code = $response->code();

print "done \n";
exit 0;

............................................


  any suggestions/pointers would be most apreciated.

thanks,

Alex Bernardin
alexjb@cnet.com





-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: For my key see: http://hcirisc.cs.binghamton.edu/~alexjb

iQCVAwUBMyQDWpBKuZ1E28FZAQFoPgP+JobA7rmDVuUNkVP4TvIGW4u90KXxIuJL
Ahy2UZCvVBzj7Gx1LHzOXzLl5NonVYcdk9QkkfYD42fCb8xDmBZ7sXPnVfOHs5VU
VaUTtL+fE/A5mIMzqMfUnK0zXEgjTNq6F5NB9XXXQ8XDkG85Ia1jbprDSKL6zTEB
fo+9b7hz12s=
=IGYU
-----END PGP SIGNATURE-----