Re: Passing a hash to a cgi outside a form?

2000-08-23 Thread Ruben I Safir
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

Re: Passing a hash to a cgi outside a form?

2000-08-21 Thread Dana Powers
You might also try Data::Dumper to create eval-able expressions -> hashes, arrays, and other complex objects. Dana

RE: Passing a hash to a cgi outside a form?

2000-08-21 Thread Robert Jenks
Title: RE: Passing a hash to a cgi outside a form? Try: print "Location: test2.cgi?" . join '&', map {"list=$_"} @$list; -Robert Jenks <[EMAIL PROTECTED]> -Original Message- From: perl [mailto:[EMAIL PROTECTED]] Sent: Monday, August 21,

Re: Passing a hash to a cgi outside a form?

2000-08-21 Thread Alex Menendez
you can't do this, dude. test.cgi dies and so do all it's pointers to structures in memory. try looking at Apache::Registry or mod_perl with the Apache::Filter mod. Or if you want to keep these things as cgi's look at LWP which lets you make http requests from within perl programs. However, I

Passing a hash to a cgi outside a form?

2000-08-21 Thread perl
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'} = 'a