Hello!

Imagine I have following controller function:

sub buttonPressed : Local {
   my ( $self, $c ) = @_;

   my $name     = $c->request->params->{name};

   $c->res->write("Hello " . $name . ", welcome to the world of Dojo!\n");
}

I want that the page http://localhost:300/buttonPressed ONLY contains
text "Hello $name, welcome to the world of Dojo!" and nothing more.

How can I tell Catalyst that it shouldn't use any template for this
particular page?

TIA

Dmitri Pissarenko

_______________________________________________
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