Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!convex!usenet From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: Removing associative array entries Message-ID: <1991Apr09.181800.15520@convex.com> Date: 9 Apr 91 18:18:00 GMT References: <671199580.AA19806@flaccid> Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 11 Nntp-Posting-Host: pixel.convex.com From the keyboard of jimmy@pyra.co.uk (Jimmy Aitken): :In the case above, the entry in the array ($value) is undefined, but :the name of the element is still there. Is there any way to remove :the name of the element sso it wont appear in the $key variable in the :above example? Use the delete operator. delete $a{$x}; --tom