http://www.perlmonks.org?node_id=714328


in reply to better way delete comma separated hash values?

You could use a hash of arrays.

Your code translates back and forth between lists and comma separated strings. This would be unnessecary if you wouldn't store the data as strings in the first place. Of course, that depends on how the rest of your program uses these values.

  • Comment on Re: better way delete comma separated hash values?