perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Wyllie" <enquir...@mms-oxford.com>
Subject tUsing module
Date Fri, 27 Feb 2009 22:09:49 GMT
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 scope for  the whole script..

Thanks

Justin
Mime
View raw message