I am not sure I understand you correctly. Are you referring to a hash which may have a list of values stored with a particular key? Keys by the nature of a hash must be unique, so the hash is changed/deleted from in the same way regardless.

I also didn't understand if you meant clearing the value, or removing the whole key and value pair.

$hash{'key'} = undef;
will clear the value regardless of what it contained, but will leave the key in place.

delete $hash{'key'};
will remove the key and consequently the value that it contained.

If this doesn't resolve the problem please be more specific or give an example.

http://danconia.org

Sophia Corwell wrote:
I am not sure how to delete a specific value from a
hash whose keys contains multiple values.
Could anyone advice, please?
Thanks,

Sophia

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to