Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 83156
Status: resolved
Priority: 0/
Queue: DBI

People
Owner: Nobody in particular
Requestors: DAMI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



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.
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" '
Implemented in cd6755f. Thanks