>
> Wouldn't even need to. It's just an (untested)
>
> sub MyApp::redirect_and_stop {
> my $c = shift;
> $c->response->redirect(@_);
> $c->detach;
> }
>
> and a call via $c->redirect_and_stop( $c->uri_for('/foo', $foo) );
Or maybe call it redirect_and_detach so other devs that may eventually need
to read/debug the code can guess what it does without seeing what your
definition of "stop" is =)
always good to use known verbs =)
-Wade
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/