Skip Menu |

This queue is for tickets about the File-Tempdir CPAN distribution.

Report information
The Basics
Id: 27020
Status: new
Priority: 0/
Queue: File-Tempdir

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

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



Subject: your dir may get removed if you fork
This isn't so much a bug as an annoying fact. If you create a File::Tempdir, then fork, and the fork's copy of the object gets destroyed, the dir is removed. This hoses the parent. I use this to cope, in Mail::Audit: http://search.cpan.org/src/RJBS/Mail-Audit-2.218/lib/Mail/Audit/Util/Tempdir.pm Some other, better solution would be nice. -- rjbs