[Catalyst] how to excute not only one 'begin' or 'end'?

Andreas Marienborg omega at palle.net
Wed May 3 12:05:21 CEST 2006


No, for that you need to use auto, which only lets you do things  
equal to begin.

begin and end are overloaded, while auto is extended.

This might all change when 5.7 comes out with the new action stuff.

andreas

On 2. mai. 2006, at 20.41, T. H. Lin wrote:

> #Controller::Root
> sub begin
> sub end
>
> #Controller::A
> sub begin
> sub end
>
> #Controller::A::B
> sub begin
> sub index
> sub end
>
> when I call /A/B
> is it possible to have action in this way?
> Root::begin
> A::begin
> A::B::begin
> A::B::index
> A::B::end
> A::end
> Root::end
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst




More information about the Catalyst mailing list