Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: delete element in Hash of array

by doubledecker (Scribe)
on May 23, 2011 at 11:57 UTC ( #906282=note: print w/replies, xml ) Need Help??

in reply to Re: delete element in Hash of array
in thread delete element in Hash of array

Assuming if you know the key you want to delete..

delete $hash{$key};

Replies are listed 'Best First'.
Re^3: delete element in Hash of array
by LanX (Chancellor) on May 23, 2011 at 12:04 UTC
    Unfortunately the question is so poorly phrased, that nobody can tell in which nesting level an element should be deleted.

    You're answering another question than jethro did.

    Cheers Rolf

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://906282]
and all is calm...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2017-08-17 13:58 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (288 votes). Check out past polls.