Hi, I’m trying to use the END{ } block in my Perl Scripts to do some code clean up (making sure files are not locked) at the end of each request. It seems to be working fine. I’m using Apache::Registry to run a regular Perl script. I’m having a problem with error messages.
I have an included file that I’m requiring:
require “test.pl”;
Without the END { } block if the script cannot find test.pl I get a Server error 500 and an appropriate error message in the log file. When I include the END{ } block I get no Server Error and no message in the log file. It is almost as if the END{ } is overwriting the ModPerlRegistry error system.
Any ideas?
Thanks. |
- Re: Using Perl END{} with Apache::Registry Justin Luster
- Re: Using Perl END{} with Apache::Registry Perrin Harkins
- RE: Using Perl END{} with Apache::Registry Justin Luster
- Re: Using Perl END{} with Apache::Registry Kyle Oppenheim
- RE: Using Perl END{} with Apache::Registry Jim Schueler
- RE: Using Perl END{} with Apache::Registry Justin Luster
- RE: Using Perl END{} with Apache::Registry Justin Luster
- Re: Using Perl END{} with Apache::Registry Perrin Harkins