Deda has asked for the wisdom of the Perl Monks concerning the following question:
hi,
i have a hash like
How do I 'undef' a hash entry - not the value, but the key? if i write%hash=( a => 1 b => 2 }
i getundef $hash{a}
What i want to get is%hash=( a => undef b => 2 }
I need this for %ENV modification (UX: unset equivalent).%hash=( b => 2 }
Back to
Seekers of Perl Wisdom