Re: perl-CGI module - post method

2005-07-18 Thread Scott R. Godin
Scott R. Godin wrote: Ovid wrote: --- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi->Vars; which ensures that you also get multi-value s as separate values. too. $cgi->Vars separates

Re: perl-CGI module - post method

2005-07-18 Thread Scott R. Godin
Scott R. Godin wrote: Ovid wrote: --- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi->Vars; which ensures that you also get multi-value s as separate values. too. $cgi->Vars separates

perl-CGI module - post method

2005-02-09 Thread Victor
I wrote tne initial question about the perl-CGI module and post method. Thank you for your answers. The problem is a little more comlicated, but I found a solution. I belive it is a problem o incompatibility betwen perl-CGI and something else on my system - possible Apache ASP(I can't say exactly

Re: perl-CGI module - post method

2005-02-09 Thread Scott R. Godin
Ovid wrote: --- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi->Vars; which ensures that you also get multi-value s as separate values. too. $cgi->Vars separates multiple values with a null by

Re: perl-CGI module - post method

2005-02-08 Thread Ovid
--- Tee <[EMAIL PROTECTED]> wrote: > Can you do: my %foo = $cgi->param("foo") > > Else, how do you loop thru to put the array into %keys? Sorry Tee, that won't work. Perl recognizes void, scalar, and list contexts. There is no "hash" context. If you have a hash on the left hand side of the equ

Re: perl-CGI module - post method

2005-02-08 Thread Tee
Can you do: my %foo = $cgi->param("foo") Else, how do you loop thru to put the array into %keys? --Tee On Feb 8, 2005, at 7:40 PM, Ovid wrote: --- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi->Va

Re: perl-CGI module - post method

2005-02-08 Thread Ovid
--- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: > his example and in which case you want to get the params AFTER > creating > the cgi-object > > my %params = $cgi->Vars; > > which ensures that you also get multi-value s as separate > values. too. $cgi->Vars separates multiple values with a nu

Re: perl-CGI module - post method

2005-02-08 Thread Scott R. Godin
David Romero wrote: David Romero wrote: Victor wrote: I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty).

Re: perl-CGI module - post method

2005-02-08 Thread Ovid
--- David Romero <[EMAIL PROTECTED]> wrote: > Victor wrote: > > When I transmit the variables using the post method it I receive a > > empty string(($cgi->param() is empty). > > > The POST data can be read one time, if you create an cgi objet before > these, the second object recibe empty data. >

Re: perl-CGI module - post method

2005-02-08 Thread David Romero
David Romero wrote: Victor wrote: I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty). If I try to recei

Re: perl-CGI module - post method

2005-02-08 Thread David Romero
Victor wrote: I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty). If I try to receive the variables usi

perl-CGI module - post method

2005-02-08 Thread Victor
I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty). If I try to receive the variables using post method