Keep It Simple, Stupid | |
PerlMonks |
Re: Error deleting DBM::Deep file (ref count?)by Athanasius (Archbishop) |
on Jun 06, 2012 at 03:32 UTC ( [id://974626]=note: print w/replies, xml ) | Need Help?? |
Hi bobf, I’ve not used this module before, but in playing around with your code I’ve made the following observations: (1) Your results are duplicated on my system, which is Strawberry Perl 5.14.2 running on Vista 32-bit. (2) If I add a call to Data::Dumper like so:
then href_nocopy fails with the same permission denied error as for href_copy. (3) If I add $db->clear(); before the call to unlink, the permission denied errors go away:
I don’t know what is going on, but maybe the above observations will help? Regards, Athanasius <°(((>< contra mundum
In Section
Seekers of Perl Wisdom
|
|