[cgiapp] Re: Patches available for ::Plugin::Routes (was: Re: New plugin idea based/inspired on CA Dispatch)

Porta julian.porta at gmail.com
Tue Oct 7 01:22:34 EDT 2008


Mark:
(Sorry for the delay)
It took some time to do it, but it's done.
Check it out.
Now the routes() sub registers all the runmodes declared, in the setup
stage. So, there's no need to register the runmodes in prerun.

http://github.com/Porta/cgi--application--plugin--routes/tree/master/lib/CGI/Application/Plugin/Routes.pm#LC34

I think it's ready to go.

Thoughts?

On Sat, Sep 27, 2008 at 1:25 PM, Mark Stosberg <mark at summersault.com> wrote:
>
>> Sorry, but I didn't understood this last sentence:
>> > The fix is to immediately the routes table when we call "routes" in
>> > setup, and register the run modes there, not each time we are in the
>> > pre-run callback.
>
> I'm sorry, my grammar was poor. I meant "immediately *process* the
> routes table when we call routes() in setup(). We'll register the run
> modes all at once there, instead of dynamically in the prerun()
> callback.
>
> Thanks for your continued work on this Julian!
>
>    Mark
>
> --
> http://mark.stosberg.com/blog
>
>
>
>
> #####  CGI::Application community mailing list  ################
> ##                                                            ##
> ##  To unsubscribe, or change your message delivery options,  ##
> ##  visit:  http://lists.openlib.org/mailman/listinfo/cgiapp    ##
> ##                                                            ##
> ##  Web archive:   http://lists.openlib.org/pipermail/cgiapp/   ##
> ##  Wiki:          http://cgiapp.erlbaum.net/                 ##
> ##                                                            ##
> ################################################################
>
>


More information about the cgiapp mailing list