[Dancer-users] request for feature

sawyer x xsawyerx at gmail.com
Mon Jan 17 23:01:02 CET 2011


I don't follow

On Mon, Jan 17, 2011 at 9:03 PM, Puneet Kishor <punk.kish at gmail.com> wrote:

> unless default params already exist, the following would make life a lot
> easier
>
> get '/foo/:foo_id?/bar/:bar_id?' => sub {
>        my $foo_id = params->{'foo_id'} || <default foo value>;
>        my $bar_id = params->{'bar_id'} || <default bar value>;
> };
>
> Many thanks,
>
>
> --
> Puneet Kishor
> _______________________________________________
> Dancer-users mailing list
> Dancer-users at perldancer.org
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110118/c3f5f5f5/attachment.htm>


More information about the Dancer-users mailing list