[Catalyst] Why no extra attributes on Private actions?

Moritz Onken onken at houseofdesign.de
Mon Aug 17 21:50:03 GMT 2009


Am 17.08.2009 um 23:19 schrieb Tomas Doran:

>
> On 17 Aug 2009, at 09:47, Moritz Onken wrote:
>
>>>
>>> __PACKAGE__->config( actions => { foo => { Path => 'bar' } } );
>>> sub foo {}
>>
>> This has been introduced in 5.80006. The Catalyst-Manual just  
>> didn't catch up with the changes.
>
>
> No, it was not.
>
> What gave you that impression?
>
> http://www.catalystframework.org/calendar/2008/11
>
> Cat 5.7015 was the current version at the time of writing, and I  
> think that worked for most (if not all) of the 5.70XX series.
>
> Cheers
> t0m

Until then it was necessary to add at least one attribute to the method.
The calendar uses :Local as attribute.

moritz



More information about the Catalyst mailing list