Sorry about that...

Here is an example:

Here is what my hash looks like:

%compilers = (
   system1 => ['compiler_a'],
   system2 => ['compiler_b',
'compiler_c','compiler_d'],
   system3 => ['compiler_e'],
);

Now, if I want to delete just the 'compiler_c' value
from the system2 key, can I use the delete function or
the pop function?


--- Mark Anderson <[EMAIL PROTECTED]> wrote:
> Could you give us an example?
> 
>               Thanks,
>                       /\/\ark
> 
> -----Original Message-----
> From: Sophia Corwell
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 09, 2003 3:58 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Removing a specific value from a hash whose
> keys contains
> multiple values
> 
> 
> 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]
> 


__________________________________________________
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