Skip Menu |

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

Report information
The Basics
Id: 89368
Status: new
Priority: 0/
Queue: File-LockDir

People
Owner: Nobody in particular
Requestors: ray.b.kosby [...] nasa.gov
Cc:
AdminCc:

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



Subject: A locking framework should not be calling die
Date: Wed, 9 Oct 2013 17:55:40 +0000
To: "bug-file-lockdir [...] rt.cpan.org" <bug-file-lockdir [...] rt.cpan.org>
From: "Kosby, Ray B. (GSFC-428.0)[ASRC AEROSPACE CORP]" <ray.b.kosby [...] nasa.gov>
This module is called by other PERL programs that need file locking yet it calls fatal, confess, and croak. All of these calls will end the program. I see no point in this. A locking framework should either return success or failure. I see no circumstances where it should end a program. Granted we can call it from an eval block but why should that be necessary? -- Ray Kosby Software Engineer ASRC office - (301) 286-5095, fax - (301) 286-7475 Ray.B.Kosby@nasa.gov NASA Goddard Space Flight Center, MS 452.1 Bldg 13 Rm 141, Greenbelt, MD 20771 Confidentiality Notice | This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, immediately contact the sender by reply e-mail and destroy all copies of the original message.