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

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

by JediWizard (Deacon)
on Jul 28, 2005 at 16:48 UTC ( #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
Node Status?
node history
Node Type: note [id://479038]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2020-06-05 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (40 votes). Check out past polls.

    Notices?