Re: Apache::Request multivalued parameters

2004-08-19 Thread Joe Schaefer
"David Hofmann" <[EMAIL PROTECTED]> writes: > I was using this system and exporting the results to %in so that I > could use $in{VAR} in my program. > > Which allows me to do > > $temp= "BOB"; > print "$temp = $in{$temp}\n"; > > To my knowledge, which may be lacking considering I just recently

Re: Apache::Request multivalued parameters

2004-08-19 Thread David Hofmann
I was using this system and exporting the results to %in so that I could use $in{VAR} in my program. Which allows me to do $temp= "BOB"; print "$temp = $in{$temp}\n"; To my knowledge, which may be lacking considering I just recently started playing with refrences, if I use option 1 or 2 I would

Re: Apache::Request multivalued parameters

2004-08-19 Thread Tom Schindl
Hi, I've never used $query->Vars but as far as I know Apache::Request does not provide a method like this. If the rest of your app depends on this behaviour you'll have to construct it your own like this: --8<-- my %params = (); while( $apr->param ) { $params{$

Re: Apache::Request multivalued parameters

2004-08-19 Thread Joe Schaefer
"David Hofmann" <[EMAIL PROTECTED]> writes: > I have a form where several of the in hidden fields are named the same thing > with diffrent values. > > With CGI.pm the I can use %in = $readquery->Vars; to put everything in a > hash. Then I break the values base on \0. > > What the best way to do

Apache::Request multivalued parameters

2004-08-19 Thread David Hofmann
I have a form where several of the in hidden fields are named the same thing with diffrent values. With CGI.pm the I can use %in = $readquery->Vars; to put everything in a hash. Then I break the values base on \0. What the best way to do this with Apache::Request, and how does it handle multiv