[Catalyst] Strange dispatcher code
Sebastian Riedel
sri at oook.de
Tue May 3 15:57:21 CEST 2005
Am 03.05.2005 um 11:27 schrieb Keith Grennan:
> Hello,
>
> I can't seem to make execution stop by returning zero from my "auto"
> action. Looking at the dispatcher code I can't make sense of what
> it's
> supposed to do:
>
> my $auto = 0;
> for my $auto ( @{ $c->get_action( 'auto', $namespace ) } ) {
> $c->execute( @{ $auto->[0] } );
> return if scalar @{ $c->error };
> last unless $c->state;
> $auto++;
> }
Yes, that makes no sense :)
Fixed in trunk, thx!
--
sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20050503/0140d343/attachment.html
More information about the Catalyst
mailing list