laziness, impatience, and hubris | |
PerlMonks |
Pass a hash as parameter to a CGI?by C_T (Scribe) |
on Sep 16, 2004 at 17:23 UTC ( [id://391510]=perlquestion: print w/replies, xml ) | Need Help?? |
C_T has asked for the wisdom of the Perl Monks concerning the following question:
Hello!
I'm curious if there is a way to pass a hash as parameters in a perl CGI script. For example, I tried this, which doesn't seem to work: This just passes a string that says "HASH(0x3jshdf29)" or somesuch. Beyond breaking the hash down into its component key=>value pairs and passing each individually, then reassembling them into a hash again, is there a more elegant way to pass a data structure to a CGI form? I'd like to pass a REALLY big data structure, and the idea of doing it as 400 key=>value pairs really doesn't appeal. Thanks for any info. CT
Charles Thomas Madison, WI
Back to
Seekers of Perl Wisdom
|
|