The value of each key is an array. And, I want to delete an element of this array. I 
don't want to delete the whole key. Is it possible?
  ----- Original Message ----- 
  From: Daniel Gardner 
  To: Ahmed Moustafa Ibrahim Ahmed 
  Cc: [EMAIL PROTECTED] 
  Sent: Tuesday, November 20, 2001 12:50 PM
  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]


Reply via email to