[Catalyst] Catalyst 5 Preview, Part 3

Sebastian Riedel sri at oook.de
Thu Apr 7 16:29:46 CEST 2005


Am 07.04.2005 um 15:20 schrieb Sebastian Riedel:

> You may know the common problem of pluggable applications.
>
> For example MojoMojo uses multiple chained formatters to render 
> different types of input (pod, textile, wikiwords...), just put a new 
> formatter module in the right directory and it will become part of the 
> chain...
>
> Thanks to Module::Pluggable thats not really a big problem, but now in 
> Cat5 it's even more simple! :)

Ok, after some discussions on irc it has been decided to put that 
functionality in a plugin (Catalyst::Plugin::Pluggable).
So $c->forward('do_stuff') would try to forward to the do_stuff method 
of the actual class.

--
sebastian




More information about the Catalyst mailing list