jaa has asked for the wisdom of the Perl Monks concerning the following question:
I have "name=value,..." strings that I convert to hashes like this:
Do the Monks have any elegant solutions for the inverse? I.e. converting %hash back into the original string?my ( %hash ) = split /\s*[=,]\s*/, "apples=green,pears=brown,oranges +=orange";
Thanks in advance!