This is a mod_perl issue, not mason.
The apache module is loaded once, and not recompiled (one of the main
ways mod_perl increases performance).

I think there are some modules that allow it to dynamically reload when
needed, a search of the mod_perl lists
may help.

John Halladay wrote:

>I've got a mailer object that I've been using for a while now with no 
>problems.  I've just added a new method to it and go to use it on the front 
>end and get an error saying:
>
>Can't locate object method "send_email_text" via package 
>"GreenAspen::Classes::Mailer"
>
>After troubleshooting my code, in desperation I rebooted the server and voila, 
>it works.  What was I missing?  How can I force a "refresh" in the future 
>without having to restart Apache, etc.?  Most importantly, why wasn't Mason 
>seeing the new method?
>
>Thanks!
>
>- John
>
>  
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to