hotshot has asked for the wisdom of the Perl Monks concerning the following question:
What happen if I do:%hash = { abc => { def => 1, }, ghi => { jkl => 1, }, };
am I staying with?:delete($hash{abc}{def});
That was the first question.%hash = { abc => undef, ghi => { jkl => 1, mno => 1, }, };
Thanks%hash = { ghi => { jkl => 1, mno => 1, }, };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Deleting hash entry
by broquaint (Abbot) on Dec 16, 2003 at 15:05 UTC | |
|
Re: Deleting hash entry
by talexb (Chancellor) on Dec 16, 2003 at 15:05 UTC | |
by Anonymous Monk on Oct 19, 2012 at 12:57 UTC | |
|
Re: Deleting hash entry
by tcf22 (Priest) on Dec 16, 2003 at 15:01 UTC | |
|
Re: Deleting hash entry
by Aragorn (Curate) on Dec 16, 2003 at 15:22 UTC |