Hashes use (), hash refs use {}.%hash = ( abc => { def => 1, }, ghi => { jkl => 1, }, );
should work for deleting a second level key.delete($hash{abc}{def});
- Tom
In reply to Re: Deleting hash entry
by tcf22
in thread Deleting hash entry
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |