Passing a Hash is a CGI proble (and done like all hash passing). 
Mod_perl is not CGI.

Please - if you can. try to send messages as text only without an
attachment.

Ruben

> perl wrote:
> 
> Hi there!
> 
> Sorry for this question which might sound easy to you, but, does
> anyone know :
> How can a CGI pass and receive a hash without a form?
> 
> Please have a look at the following simple scripts :
> 
> This is test.cgi
> -----------------------
> #!/usr/bin/perl
> use CGI;
> 
> $list->{'value1'} = 'apple';
> $list->{'value2'} = 'fruit';
> 
> print "Location: test2.cgi?list=$list \n\n";
> ----------------------
> 
> This is test2.cgi
> ----------------------
> #!/usr/bin/perl
> 
> use CGI qw (:standard);
> 
> print header;
> 
> $list = param('list');
> 
> foreach (keys %{$list})
> {
>         print "KEY IN LIST = ",$_,br;
> }
> ----------------------
> 
> Thank you for your help !

-- 
Ruben I Safir

[EMAIL PROTECTED]
[EMAIL PROTECTED]

Perl Notes:
http://www.wynn.com/jewish/perl_course

http://www.brooklynonline.com
Manager of Intranet Development NYU College of Dentistry
Resume:  http://www.wynn.com/jewish/resume.html

Reply via email to