[Catalyst] How to redirect before some code excute
Matt S Trout
dbix-class at trout.me.uk
Thu Oct 26 15:40:51 GMT 2006
Jonathan Rockway wrote:
>> It's a subroutine, right?
>>
>> Tried a return?....such as:
>
> What you really want to do is call $c->detach to completely end the
> processing chain. Return will still execute end {} actions, and
> continue processing up the class hierarchy:
detach in the main processing stage will still lead to end actions being
executed, too.
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Catalyst
mailing list