Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Pass a hash as parameter to a CGI?

by C_T (Scribe)
on Sep 16, 2004 at 18:13 UTC ( [id://391527]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Pass a hash as parameter to a CGI?
in thread Pass a hash as parameter to a CGI?

I answered my own question. It works, but throws warnings if you have them turned on.

$test_hash_ref = { 'apple' => 'red', 'junk' => 'foo^bar', 'junk2' => undef, 'lime' => 'green' }; Use of uninitialized value in substitution (s///) at ./serialize.pl li +ne 19. Use of uninitialized value in join or string at ./serialize.pl line 19 +. apple|red|junk|foo^1bar|junk2||lime|green $test_hash_ref = { 'apple' => 'red', 'junk' => 'foo^bar', 'lime' => 'green', 'junk2' => '' };

CT

Charles Thomas
Madison, WI

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://391527]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-24 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found