Skip Menu |

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

Report information
The Basics
Id: 81444
Status: resolved
Priority: 0/
Queue: File-Modified

People
Owner: NEILB [...] cpan.org
Requestors: bwagner [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: 0.08



Subject: Warning: "defined(@array) is deprecated" line 34
Using the module causes this warning: defined(@array) is deprecated at /Users/bwagner/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/File/Modified.pm line 34. (Maybe you should just omit the defined()?) The attached patch resolves the issue.
Subject: Modified.pm.patch
--- Modified.pm.orig 2012-11-25 18:56:18.000000000 +0100 +++ Modified.pm 2012-11-25 18:56:30.000000000 +0100 @@ -31,7 +31,7 @@ if (! $@) { no strict 'refs'; - if (defined @{"Digest::${digest}::ISA"}) { + if (@{"Digest::${digest}::ISA"}) { @{"File::Modified::Signature::${digest}::ISA"} = qw(File::Modified::Signature::Digest); return 1; };
Subject: Re: [rt.cpan.org #81444] Warning: "defined(@array) is deprecated" line 34
Date: Tue, 04 Dec 2012 13:20:16 +0630
To: bug-File-Modified [...] rt.cpan.org
From: Max Maischein <webmaster [...] corion.net>
Hi! Thanks for the patch! I'm currently mostly offline but will review it end of the year... -max Bernhard Wagner via RT <bug-File-Modified@rt.cpan.org> schrieb: Show quoted text
>Sun Nov 25 13:01:30 2012: Request 81444 was acted upon. >Transaction: Ticket created by BWAGNER > Queue: File-Modified > Subject: Warning: "defined(@array) is deprecated" line 34 > Broken in: 0.07 > Severity: Normal > Owner: Nobody > Requestors: bwagner@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81444 > > > >Using the module causes this warning: > >defined(@array) is deprecated at >/Users/bwagner/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/File/Modified.pm >line 34. > (Maybe you should just omit the defined()?) > > >The attached patch resolves the issue.
Subject: Fwd: Re: [rt.cpan.org #81444] Warning: "defined(@array) is deprecated" line 34
Date: Wed, 05 Dec 2012 08:39:52 +0630
To: bug-File-Modified [...] rt.cpan.org
From: Max Maischein <webmaster [...] corion.net>
... resending Show quoted text
-------- Originalnachricht -------- Betreff: Re: [rt.cpan.org #81444] Warning: "defined(@array) is deprecated" line 34 Von: Max Maischein <webmaster@corion.net> An: bug-File-Modified@rt.cpan.org Cc: Hi! Thanks for the patch! I'm currently mostly offline but will review it end of the year... -max