Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: better way delete comma separated hash values?

by betterworld (Curate)
on Sep 29, 2008 at 11:57 UTC ( [id://714328]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

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

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

    No recent polls found