[Dancer-users] Where do I get POST form data in a post route?

Mr. Puneet Kishor punk.kish at gmail.com
Sun Jun 26 15:09:06 CEST 2011


On Jun 25, 2011, at 10:59 PM, Naveed Massjouni wrote:

> On Fri, Jun 24, 2011 at 9:25 AM, ambs <ambs+dancer at perl-hackers.net> wrote:
>> On 24/06/2011 14:22, Leandro Hermida wrote:
>>> 
>>> Hi again,
>>> 
>>> Sorry another newbie question, in a post route where do I get the POST
>>> form data?  A la the CGI.pm $cgi->Vars hash
>> 
>> $hash = params;
>> 
>> or params->{variable}
>> 
>> or even param("variable")
> 
> Nice! I didn't know that you could do param 'foo'. This reminds me
> that some docs and presentations should be updated to use this cleaner
> way. Especially this great presentation:
>  http://perldancer.org/slides
> 


404 [http://perldancer.org/talks/dancer-for-python-programmers.pdf]


More information about the Dancer-users mailing list