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
Dmitri Pissarenko wrote:
$c-res-body = 'Hello ' . $name . ', welcome to the world of Dojo!\n';
Instead do:
$c-res-body( 'Hello' ... );
-Brian
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Thanks!
--
http://www.xing.com/profile/Dmitri_Pissarenko
http://dapissarenko.blogspot.com/
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: