[Dancer-users] hashes in POST form data

Flavio Poletti polettix at gmail.com
Mon Mar 14 19:01:46 CET 2011


Just out of curiosity:

1. what do you expect to see from <input name='zone{}' type='checkbox'
value='com'>?

2. why parameters('body')->{Address}... instead of
parameters('Address')->...?

Cheers,

    Flavio.


On Mon, Mar 14, 2011 at 6:56 PM, Nick Knutov <mail at knutov.com> wrote:

> Hello,
>
> are there any ready modules for Dancer that can parse post data from forms
> with hashes in names like CGI::WebIn?
>
> I really need to be able to do
> <input type=text name="Address{Russia}{Moscow}" value="house"> or <input
> name='zone{}' type='checkbox' value='com'>
> and to get something like
> parameters('body')->{Address}->{Russia}->{Moscow}.
>
> --
> Best Regards,
> Nick Knutov
> http://knutov.com
> ICQ: 272873706
> Voice: <%2B7-904-84-23-130>+7-904-84-23-130
> _______________________________________________
> 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/20110314/95f3b5b9/attachment.htm>


More information about the Dancer-users mailing list