Yeah, that gets rid of the key as well.

____________________
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]

ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19107
www.electronicink.com

t 215.922.3800 x(233)
f 215.922.3880


-----Original Message-----
From: Mike Rapuano [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 3:57 PM
To: Daniel Gardner; Ahmed Moustafa Ibrahim Ahmed
Cc: [EMAIL PROTECTED]
Subject: RE: How to delete hash element


is it possible to delete a "key" along with the element?? 



-----Original Message-----
From: Daniel Gardner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 3:50 PM
To: Ahmed Moustafa Ibrahim Ahmed
Cc: [EMAIL PROTECTED]
Subject: Re: How to delete hash element


Tuesday, November 20, 2001, 8:41:03 PM, Ahmed Moustafa Ibrahim Ahmed
wrote:

AMIA> If I know the key and offset of the element, how can I delete that
hash
AMIA> element, please?

you can delete a hash element like:

  delete $hash{ the_key };

but i'm not sure what you mean by "the offset of the element"


-- 
Best regards,
 Daniel                            mailto:[EMAIL PROTECTED]


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


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail is intended solely for the above-mentioned recipient and it may
contain confidential or privileged information.  If you have received it in
error, please notify us immediately and delete the e-mail.  You must not
copy, distribute, disclose or take any action in reliance on it.  In
addition, the contents of an attachment to this e-mail may contain software
viruses which could damage your own computer system.  While Electronic Ink,
Inc. and E Ink Ltd have taken every reasonable precaution to minimize this
risk, we cannot accept liability for any damage which you sustain as a
result of software viruses.  You should perform your own virus checks before
opening the attachment.

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

Reply via email to