# New Ticket Created by Jerome Quelin
# Please include the string: [perl #19599]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=19599 >
Hi,
How one can delete a key from a perl hash in parrot assembly?
I tried:
new P0, .PerlHash
set P0["a"], 1
exists I0, P0["a"]
print I0
print "\n"
delete P0["a"]
exists I0, P0["a"]
print I0
print "\n"
end
and got:
Couldn't find operator 'delete_p_kc' on line 6.
although pdd02 talks about "void delete_keyed(...)", and this function
exists in $PARROT/classes/perlhash.pmc
The $PARROT/t/pmc/perlhash.t doesn't test either this operation.
It must be a bug, since it seems important to me (and guess what, I need
it for my befunge interpreter :o) ).
Jerome
--
[EMAIL PROTECTED]