Say you've got a hash called %myhash and it's got a key called "foo".
delete $myhash{foo};
.... will get rid of the "foo" key.
____________________
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: Ahmed Moustafa Ibrahim Ahmed [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 3:41 PM
To: [EMAIL PROTECTED]
Subject: How to delete hash element
Hi,
If I know the key and offset of the element, how can I delete that hash
element, please?
Your help will be appreciated.
Ahmed
--
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]