[Catalyst] RFC: Reusable actions

Nilson Santos Figueiredo Junior acid06 at gmail.com
Thu Apr 6 19:46:25 CEST 2006


On 4/6/06, Sebastian Riedel <sri at oook.de> wrote:
> Multiple Acvtion() attributes for a single action are also possible.
>
>      sub foo : Path('/bar') : Action('Bar') : Action('Baz') {}

I'm very fond of sub attributes. However, perl can't properly parse
them when they span multiple lines. So if Catalyst will really start
making heavy usage of them such as this, people might want to break
'em into multiple lines and everything goes boom.

A solution is to fix this perl bug. I've reported it to p5p some time
ago but it was sort of completely ignored. ;-)

-Nilson Santos F. Jr.



More information about the Catalyst mailing list