tUsing module

2009-02-27 Thread Justin Wyllie
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

Re: tUsing module

2009-03-01 Thread Mark Hedges
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