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
Download (untitled) / with headers
text/plain 354b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.