On 12/20/05, Kieren Diment <[EMAIL PROTECTED]> wrote:
> The FAQ says to do this:
>
> __PACKAGE__->config(Maypole::Config->new());
>
> to ensure that  everything works as expected.
>
> shouldn't this be in a BEGIN block, or at least before all the setup
> stuff is called in the main application module?
>
> I've tested this and edited the wiki.  Is there a good reason not to
> do this?

Yes, before doing any setup, but probably no, not in a BEGIN block, if
you're using Maypole::Application. In fact, Mp::App makes this call
itself, so I'm not sure it's necessary at all.

d.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to