Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I would hazard a guess that the hash key value pair you have specified would be deleted. What happens when you try it? (I did not.)
Sure, I would use delete($hash{abc}) This would delete the top level and everything underneath it. And now, an editorial comment ..Please, I would strongly urge you (and anyone else) to go into the Perl debugger and try these things out rather than posting here. Wait until you've tried a bunch of things and are well and truly stumped. We love interesting, challenging questions. Questions that show no effort leave us uninspired.
--t. alex
Life is short: get busy! In reply to Re: Deleting hash entry
by talexb
|
|