Where do I get POST form data in a post route?
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 thanks again, Leandro
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") Cheers
On Fri, Jun 24, 2011 at 9:25 AM, ambs <ambs+dancer@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 sawyer: ^^^ -Naveed
Cheers _______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
On 26/06/2011 03:59, Naveed Massjouni wrote:
On Fri, Jun 24, 2011 at 9:25 AM, ambs<ambs+dancer@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
Its hard to have up-to-date documentation on a moving target :)
On Jun 25, 2011, at 10:59 PM, Naveed Massjouni wrote:
On Fri, Jun 24, 2011 at 9:25 AM, ambs <ambs+dancer@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]
On Sun, Jun 26, 2011 at 4:09 PM, Mr. Puneet Kishor <punk.kish@gmail.com>wrote:
404 [http://perldancer.org/talks/dancer-for-python-programmers.pdf]
That's simply because Dancer is in Perl and Python programmers program in Python. j/k :)
'tis the season of broken and dead links -- - start at [http://perldancer.org/talks/dancer-for-python-programmers.pdf] to get 404 - note the short link at the bottom of the page [http://t.co/ynT46sC] - read about Mark Allen's OSCON 2011 presentation on dancer, and decide to check out his web site - Go to [http://byte-me.org/] to find a section on Perl Shared Hosting - Go to [http://perlsharedhosting.com/] only to get • index.php.php Apache/2.2.18 (Unix) mod_ssl/2.2.18 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at perlsharedhosting.com Port 80 huh! Perl Shared Hosting runs on index.php.php, and doesn't even seem useful. Click on [http://perlsharedhosting.com/index.php.php] to be prompted for a password. - Go back to [http://byte-me.org/] and see a link to test Dancer implementation on a shared host. Click on [http://byte-me.org/dancertest/dispatch.cgi/] to get "[an error occurred while processing this directive]" On Jun 26, 2011, at 9:09 AM, Mr. Puneet Kishor wrote:
On Jun 25, 2011, at 10:59 PM, Naveed Massjouni wrote:
On Fri, Jun 24, 2011 at 9:25 AM, ambs <ambs+dancer@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]
participants (6)
-
Alberto Simoes -
ambs -
Leandro Hermida -
Mr. Puneet Kishor -
Naveed Massjouni -
sawyer x