Wed Feb 06 05:22:14 2013DAMI [...] cpan.org - Ticket created
Subject:
The TIEHASH API does not implement DELETE
DBI handles do not implement the DELETE method. So if we go
$dbh->{private_foo} = 'bar';
...
delete $dbh->{private_foo}
we get an error.
Sat Feb 16 16:53:48 2013TIMB [...] cpan.org - Correspondence added
It seems reasonable for private_* attributes to be deletable.
Especially to allow use of local(), which deletes a key if it didn't exist before:
perl -Mstrict -we 'our %h; do { local $h{private} = 1 }; print "keys: @{[ keys %h ]}\n" '
Sat Feb 16 16:53:48 2013The RT System itself - Status changed from 'new' to 'open'
Sun Sep 21 08:50:26 2014TIMB [...] cpan.org - Correspondence added
Implemented in cd6755f. Thanks
Sun Sep 21 08:50:28 2014TIMB [...] cpan.org - Status changed from 'open' to 'resolved'