Change Catalsyt _parse_attrs so that when sub attr handlers:
authorGareth Kirwan <gbjk@thermeon.com>
Tue, 28 Aug 2012 15:22:42 +0000 (16:22 +0100)
committerGareth Kirwan <gbjk@thermeon.com>
Tue, 28 Aug 2012 15:22:42 +0000 (16:22 +0100)
commit0b0aee670c39f8cb8f140eb62de9bfaf2c343a24
treed18826473a30b5e206be129a2a12f0bec1444929
parentd0cacee71a316290bc01f0e12681c16bdc1e84e2
Change Catalsyt _parse_attrs so that when sub attr handlers:
1) Can return multiple pairs of new attributes
2) Get their returned attributes passed through the correct attribute handler.
e.g sub _parse_Whatever_attr { return Chained => 'foo', PathPart => 'bar' }
Will now work because both new attributes are respected, and the Chained attribute is passed
to _parse_Chained_attr and fixedup correctly by that.
lib/Catalyst/Controller.pm
t/aggregate/live_component_controller_attributes.t
t/lib/TestApp/Controller/Attributes.pm