Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How do I turn a hash into a name=value string?

by JediWizard (Deacon)
on Jul 28, 2005 at 16:48 UTC ( [id://479038]=note: print w/replies, xml ) Need Help??


in reply to How do I turn a hash into a name=value string?

my $string = join(",", map({"$_=$hash{$_}"} keys %hash));

Will that work?


They say that time changes things, but you actually have to change them yourself.

—Andy Warhol

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-19 10:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found