Skip Menu |

This queue is for tickets about the Sendmail-AccessDB CPAN distribution.

Report information
The Basics
Id: 58832
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Sendmail-AccessDB

People
Owner: STEPHANJ [...] cpan.org
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

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



Subject: Use of deprecated threading functions
Building with perl 5.12.1 results in the following deprecation warnings: Use of :locked is deprecated at /builddir/build/BUILD/Sendmail-AccessDB-1.01/blib/lib/Sendmail/AccessDB.pm line 292. Use of :locked is deprecated at /builddir/build/BUILD/Sendmail-AccessDB-1.01/blib/lib/Sendmail/AccessDB.pm line 311. Use of :locked is deprecated at /builddir/build/BUILD/Sendmail-AccessDB-1.01/blib/lib/Sendmail/AccessDB.pm line 323. Having googled around, it appears that the Perl 5.005 threads implementation has long been deprecated and the ":locked" attribute stopped having any effect in perl 5.10. Is there any chance of the module being updated to a more recent threading implementation?
Subject: Re: [rt.cpan.org #58832] Use of deprecated threading functions
Date: Fri, 25 Jun 2010 07:58:33 -0400
To: bug-Sendmail-AccessDB [...] rt.cpan.org
From: "Derek J. Balling" <dredd [...] megacity.org>
I have to be honest, I haven't actually USED this package in about six years. I don't even have a suitable test environment in which to stress-test new code to make sure it handles OK. D On Jun 25, 2010, at 7:46 AM, paul@city-fan.org via RT wrote: Show quoted text
> Fri Jun 25 07:46:54 2010: Request 58832 was acted upon. > Transaction: Ticket created by paul@city-fan.org > Queue: Sendmail-AccessDB > Subject: Use of deprecated threading functions > Broken in: 1.01 > Severity: (no value) > Owner: Nobody > Requestors: paul@city-fan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=58832 > > > > Building with perl 5.12.1 results in the following deprecation warnings: > > Use of :locked is deprecated at > /builddir/build/BUILD/Sendmail-AccessDB-1.01/blib/lib/Sendmail/AccessDB.pm > line 292. > Use of :locked is deprecated at > /builddir/build/BUILD/Sendmail-AccessDB-1.01/blib/lib/Sendmail/AccessDB.pm > line 311. > Use of :locked is deprecated at > /builddir/build/BUILD/Sendmail-AccessDB-1.01/blib/lib/Sendmail/AccessDB.pm > line 323. > > Having googled around, it appears that the Perl 5.005 threads > implementation has long been deprecated and the ":locked" attribute > stopped having any effect in perl 5.10. > > Is there any chance of the module being updated to a more recent > threading implementation?
I looked at the code and checked it. I found no reason for the threading locks to be there so i removed them in the 1.04 release. Please test this throughly before going into production! Thank you!