[Catalyst] stripping path parts and then redispatch?

Bill Moseley moseley at hank.org
Wed Feb 25 01:49:47 GMT 2009


On Wed, Feb 25, 2009 at 01:12:57AM +0000, Tomas Doran wrote:
>
> On 24 Feb 2009, at 18:49, Larry Leszczynski wrote:
>>
>> I'll be happy to give it a go, if someone can suggest appropriate  
>> places
>> to add this to the POD and/or wiki...
>
> How about here: http://dev.catalyst.perl.org/wiki/wikicookbook
>
>>>>      $c->SUPER::prepare_path(@_);
>>>>
>
> Tiny nit pick - you probably want to say $c->next::method(@_) rather  
> than SUPER::.

Or what I sent to Larry:

    $c->NEXT::prepare_path;

At what catalyst version can you use $c->next:: ?

-- 
Bill Moseley
moseley at hank.org
Sent from my iMutt




More information about the Catalyst mailing list