You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Mike P. Mikhailov" <mi...@sibtel.ru> on 2002/05/16 07:01:48 UTC
Re[2]: Cleanup handler
Hello Slava Bizyayev,
Wednesday, May 15, 2002, 8:40:44 PM, you wrote:
SB> Hi Mike,
SB> It doesn't matter what you return after the response is sent to the client's
SB> browser. Just do what you need. See the eagle book for details.
I know, but if I'm do not return any value, the message 'Use
uninitialized value.' appeared in the error log. It's annoying a bit.
--
WBR, Mike P. Mikhailov
mailto:mike@sibtel.ru
Re: Re[2]: Cleanup handler
Posted by Slava Bizyayev <sb...@outlook.net>.
I've just double check a couple of my old clean_up handlers: there are
return OK;
is sitting. I don't care: In fact, I have never had any headache with
clean_up.
As far as I remember, I even used to skip the return statements in some of
them. There are always a kind of info message in the end of the code, which
makes the default return value. It should be enough to make perl happy.
Good luck,
Slava
----- Original Message -----
From: "Mike P. Mikhailov" <mi...@sibtel.ru>
To: "Slava Bizyayev" <sb...@outlook.net>
Cc: <mo...@apache.org>
Sent: Thursday, May 16, 2002 12:01 AM
Subject: Re[2]: Cleanup handler
> Hello Slava Bizyayev,
>
> Wednesday, May 15, 2002, 8:40:44 PM, you wrote:
>
> SB> Hi Mike,
> SB> It doesn't matter what you return after the response is sent to the
client's
> SB> browser. Just do what you need. See the eagle book for details.
>
> I know, but if I'm do not return any value, the message 'Use
> uninitialized value.' appeared in the error log. It's annoying a bit.
>
>
> --
> WBR, Mike P. Mikhailov
> mailto:mike@sibtel.ru
>
>