Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 68978
Status: resolved
Worked: 1 min
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: RENEEB [...] cpan.org
Cc:
AdminCc:

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



Subject: 05-apl.t: Use of qw(...) as parenthesis is deprecated
In your test files you use qw() as parenthesis. This is deprecated as of Perl 5.14.0 (see http://search.cpan.org/dist/perl-5.14.0/pod/perldelta.pod#Use_of_qw%28...%29_as_parentheses) E.g.: foreach my $apitem qw( 1:19 ...)
CC: RENEEB [...] cpan.org, Rob Brown <bbb [...] cpan.org>
Subject: Re: [rt.cpan.org #68978] 05-apl.t: Use of qw(...) as parenthesis is deprecated
Date: Mon, 27 Jun 2011 02:17:49 -0600
To: bug-Net-DNS [...] rt.cpan.org
From: Rob Brown <bbb [...] cpan.org>
Renee, Thanks for catching this. Here is a patch: Net-DNS-0.66-paren.patch That 05-apl.t code was the only deprecated use I could find. Also, that confusing Verbose output has been bothering me every since I accidentally upgraded from Net::DNS 0.65 to Net::DNS 0.66 where it suddenly just prints the timeout without a newline. Again, the solution is to just add more parenthesis: Net-DNS-0.66-loop_once_Verbose.patch Hopefully we can get both of these fixed in the next version 0.67. -- Rob On Tue, Jun 21, 2011 at 4:54 AM, RENEEB via RT <bug-Net-DNS@rt.cpan.org> wrote: Show quoted text
> Tue Jun 21 06:54:16 2011: Request 68978 was acted upon. > Transaction: Ticket created by RENEEB >       Queue: Net-DNS >     Subject: 05-apl.t: Use of qw(...) as parenthesis is deprecated >   Broken in: 0.66 >    Severity: (no value) >       Owner: Nobody >  Requestors: RENEEB@cpan.org >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68978 > > > > In your test files you use qw() as parenthesis. This is deprecated as of > Perl 5.14.0 (see > http://search.cpan.org/dist/perl-5.14.0/pod/perldelta.pod#Use_of_qw%28...%29_as_parentheses) > > E.g.: foreach my $apitem qw( 1:19 ...) >

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Hi Rob, In trunk the parentheses were already around qw's (with foreach), but the not yet in the debugging line in the loop_once subroutine. Now they are. Best regards, Willem