2015-09-16 12:39 GMT+03:00 Parthiban, Anandaraaj <[email protected]>:
> But How do we pass that
>
> Let me Know in case of any further informations required.
get '/method' => sub {
# you have two ways to access params from query string :
# first, there is Dancer keyword `param`
my $name = param('name');
# second, there is Dancer method `params`
my $id = params->{ 'id' };
# do whatever you need here
};
Wbr,
--
Kõike hääd,
Gunnar
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users