develooper Front page | perl.beginners | Postings from January 2002

passing a hash using

Thread Next
Josiah Altschuler
January 8, 2002 08:09
passing a hash using
Message ID:
Hi.  I'm having trouble passing a hash from one program to another through a
link using  My first program passes the hash like this (it's
actually a hash that is one element of an array of hashes):

print pre a ( { -href =>
" }, "Redundant sequences");

The code from my program that receives the hash looks like this:

%myHash = param("request");
print header, start_html("Results"),
for $key (keys %myHash)
	print ("$key, $myHash{$key}");
print end_html();

And the web page ends up displaying data that looks like this:

Is there some sort of simple dereferencing that I'm missing?
Thanks for any help you can give me,

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About