END block weird behavior

[prev] [thread] [next] [Date index for 2004/11/26]

From: Faisal Nasim
Subject: END block weird behavior
Date: 20:12 on 26 Nov 2004
Hi,

I have an END block in my Apache::PerlRun script. First I was trying to print something
in the END{} block and it didn't show up on the browser. I tried writing to a file and it
worked great! The weird thing is that when I try to use Dumper() call or any other
module it doesn't work, it bails out. No 500, nothing in logs but it seems that I can
no longer use any 'use'd modules. I tried accessing a variable which I was using
through use vars() and it wasn't available in END {} either. Any ideas what I'm doing
wrong? Global my() variables are available in the end block only. I looked through the guide
and mailing list archives, no avail. I'm doing  modperl 1.29 on Apache 1.3.33. Simple
Apache::PerlRun, no extra modules, no special configuration directives.

Thank you.

Regards,

Faisal



        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

END block weird behavior
Faisal Nasim 20:12 on 26 Nov 2004

Re: END block weird behavior
Faisal Nasim 10:34 on 30 Nov 2004

Re: END block weird behavior
Stas Bekman 00:48 on 02 Dec 2004

Re: END block weird behavior
Faisal Nasim 07:53 on 02 Dec 2004

Re: END block weird behavior
Stas Bekman 15:29 on 02 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52