Software error: Can't locate auto/LWP/UserAgent/DESTROY.al ...

David D Kilzer (ddkilzer@madison.dseg.ti.com)
Thu, 31 Oct 1996 16:28:56 -0600


I'm using libwww-perl-5.04 with some CGI scripts and came across the
following error that occurs at the end of the script:


-------- libwww-perl-5.04 error

Content-type: text/html 

Software error:

Can't locate auto/LWP/UserAgent/DESTROY.al in @INC during global destruction. 

Please send mail to this site's webmaster for help.

-------- End libwww-perl-5.04 error


This same error is also reported by the CGI.pm module (version 2.27)
that I'm using:


-------- libwww-perl-5.04 error deaux

Content-type: text/html 

Software error:

[Thu Oct 31 16:22:45 1996] DESTROY.al: Can't locate auto/LWP/UserAgent/DESTROY.al in @INC during global
destruction. at /path/to/cgi-bin/experts.cgi line 0 

Please send mail to this site's webmaster for help. 

-------- End libwww-perl-5.04 error deaux


Now when I create "auto/LWP/UserAgent/DESTROY.al" under my lib/perl5/
directory:


-------- DESTROY.al

package LWP::UserAgent;
 
sub DESTROY {
 1;
}

1;

-------- End DESTROY.al


everything seems to work fine, but I'm wondering if things aren't
getting destructed as they are supposed to.  I can send the perl5 script
if needed.

Thanks!

Dave
--
David D. Kilzer              \     Dr. Beverly Crusher, Stardate 44181.2:
Software Designer            /   ``If there's nothing wrong with me, maybe
Design Reuse Team            \   there's something wrong with the universe.''
ddkilzer@ti.com              /       _Star Trek: The Next Generation_