On Fri, 27 Feb 2009, Justin Wyllie wrote:
> I want to instantiate an object just once in the lifetime
> of a script, not on every request. I'm used to Mason
> where you can use Mason's <%once> block. In mod_perl
> proper would the equivalent be to instantiate it in a
> BEGIN block? But it wou
Hi
This is a beginner question.
I want to instantiate an object just once in the lifetime of a script, not on
every request.
I'm used to Mason where you can use Mason's <%once> block.
In mod_perl proper would the equivalent be to instantiate it in a BEGIN block?
But it would need to be in sco