[Catalyst-dev] Re: [Catalyst-Plugin-FillInForm PATCH] documentation fix - short-circuit view rather than fillform

Aristotle Pagaltzis pagaltzis at gmx.de
Mon Mar 9 21:40:45 GMT 2009


* Peter Collingbourne <peter at pcc.me.uk> [2009-03-09 22:25]:
> -        $c->forward('render');
> -        $c->fillform($c->req->params) unless $c->res->output;
> +        $c->forward('render') unless $c->res->output;
> +        $c->fillform($c->req->params);

Is there a reason you used two separate conditionals?

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst-dev mailing list