[Maypole-dev] Patch - Maypole::Application inheritance.

From: Marcus Ramberg (marcus at thefeed.no)
Date: Thu Jan 20 2005 - 18:49:05 GMT


Using Maypole::Application to load your plugin leads to a problem when
running more than one application, because they will share @ISA, so
that both applications will have the same plugins. Attached for
discussion is a patch that will set up a <MyApplication>::Application
proxy, which loads the required modules for your application.

If you guys thinks it's a good solution, I'll apply it. It might be
better to set it up as Maypole::Application::<MyApplication> to avoid
polluting the application namespace tho?

Marcus



_______________________________________________
maypole-dev mailing list
maypole-dev at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole-dev



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT