I'm just trying to see how Apache::Singleton works.  If my code is not
understandable, that's how far off I probably am from knowing how it works..
That was why I asked if someone had a complete sample.

Actually I don't think I will use Singleton, it just seems like a lot more
work then it's worth for me.  I have a hash for the posted cgi variables but
that gets cleared out when it's reset anyways, and I have about 30 global
variables that I just set explicitly at the start of the code.

Chris
----- Original Message ----- 
From: "Perrin Harkins" <[EMAIL PROTECTED]>
To: "Chris Ochs" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 17, 2003 9:02 AM
Subject: Re: Apache::Singleton


> Chris Ochs wrote:
>
> > Here is the code that I cant' get working, maybe it is easier to just
> > correct what I have so far...
>
> I'm afraid I can't tell what you're trying to do here.  One big problem
> with this code is that you're putting the request object ($r, by
> convention) into a global.  Don't do that.  The request object is only
> valid for the length of the current request.
>
> If you explain what you're trying to accomplish, we can give you some
> more specific advice.
>
> - Perrin
>
>
> -- 
> Reporting bugs: http://perl.apache.org/bugs/
> Mail list info: http://perl.apache.org/maillist/modperl.html
>
>


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to