On Dec 19, 2007 11:30 AM, Emil-Nicolaie Perhinschi <[EMAIL PROTECTED]> wrote:
> Is there anything wrong with using this in autohandler
>
> <%once>
> our ($my_cute_app);
> </%once>

One reason I don't want to do that is that this Mason server is shared
by several developers and using up pieces of a global namespace for
app-specific things is undesirable.  If I put things in $m->notes or
add method to the WebApp instance (which is already in $app), it all
goes away at the end of the request and doesn't affect anyone else's
code.

- Perrin

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to