Skip Menu |

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

Report information
The Basics
Id: 28055
Status: open
Priority: 0/
Queue: File-Pid

People
Owner: MBERG [...] cpan.org
Requestors: nobody [...] mixmaster.it
Cc:
AdminCc:

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



Subject: feature request
Date: Mon, 9 Jul 2007 08:52:02 +0200 (CEST)
To: bug-File-Pid [...] rt.cpan.org
From: George Orwell <nobody [...] mixmaster.it>
please add a DESTROY function to automatically delete the PID file.
From: bitcard [...] froods.org
On Mon Jul 09 02:52:19 2007, nobody@mixmaster.it wrote: Show quoted text
> please add a DESTROY function to automatically delete the PID > file.
I disagree with this feature request. Just because the File::Pid object goes out of scope does not mean that the process is necessarily ending. If this is the case in your code, you can add a DESTROY function to your calling class (or an END block to your application), that calls $pidfile->remove.