* Dmitri Pissarenko <[EMAIL PROTECTED]> [2007-05-17 17:00]:
> sub buttonPressed : Local {
>    my ( $self, $c ) = @_;
> 
>    my $name     = $c->request->params->{name};
> 
>    $c->res->write("Hello " . $name . ", welcome to the world of Dojo!\n");
> }

Don’t do that, it leads to spaghetti. Write your own View class
and generate the output from there.

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

_______________________________________________
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/

Reply via email to