Skip Menu |

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

Report information
The Basics
Id: 85909
Status: rejected
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: tanner [...] Cerritos.edu
Cc:
AdminCc:

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



Subject: Small bug in Net::DNS::Resolver::MSWin32
Date: Wed, 5 Jun 2013 22:37:26 +0000
To: "bug-Net-DNS [...] rt.cpan.org" <bug-Net-DNS [...] rt.cpan.org>
From: "Tanner, Bruce" <tanner [...] Cerritos.edu>
ActiveState Perl 5.14.2 on Windows 7 $Id: MSWin32.pm 1096 2012-12-28 13:35:15Z willem $ I came across an obscure bug when compiling a program that used Net::DNS with ActiveState PerlApp. I resolved the problem by quoting the 'use base' argument on line 2 of Net::DNS::Resolver::MSWin32. use base "Net::DNS::Resolver::Base"; -Bruce -- Bruce Tanner (562) 653-7861 Bruce.Tanner@Cerritos.edu Cerritos College Norwalk, CA
From: rwfranks [...] acm.org
Please can you provide error messages or other evidence and situation in which this arises. Were there any errors or warnings reported by the Net::DNS installation test suite? It would also be a good idea to reduce your program to the smallest example which still exhibits the problem. -- On Wed Jun 05 18:37:43 2013, tanner@Cerritos.edu wrote: Show quoted text
> ActiveState Perl 5.14.2 on Windows 7 > $Id: MSWin32.pm 1096 2012-12-28 13:35:15Z willem $ > > I came across an obscure bug when compiling a program that used > Net::DNS with ActiveState PerlApp. > > I resolved the problem by quoting the 'use base' argument on line 2 of > Net::DNS::Resolver::MSWin32. > > use base "Net::DNS::Resolver::Base"; > > -Bruce > -- > Bruce Tanner (562) 653-7861 Bruce.Tanner@Cerritos.edu > Cerritos College Norwalk, CA > >
Subject: RE: [rt.cpan.org #85909] Small bug in Net::DNS::Resolver::MSWin32
Date: Fri, 7 Jun 2013 16:02:09 +0000
To: "bug-Net-DNS [...] rt.cpan.org" <bug-Net-DNS [...] rt.cpan.org>
From: "Tanner, Bruce" <tanner [...] Cerritos.edu>

Message body is not shown because it is too large.

From: rwfranks [...] acm.org
Thanks for the evidence. The error-free installation tests tell me that the use base construct without the quotes is not upsetting your compiler. The noise about files not listed in MANIFEST is a portability problem with the test and can safely be ignored. Now we need to chop lines out of your program until it is reduced to the few lines which demonstrate the problem. Hopefully, we should then be able to understand what is going on. I am very curious to know why adding quotes apparently makes the problem go away. Dick -- On Fri Jun 07 12:02:30 2013, tanner@Cerritos.edu wrote: Show quoted text
> Hello Dick, > > Here is a session log showing: > an install of Net::DNS > a compile and run of a minimal test program with errors > my change to Net::DNS::Resolver::MSWin32 > a compile and run of the minimal test program without errors > > I have no idea why the compiled program is unhappy with the 'use base' > pragma, nor why executing the Perl source itself runs correctly. > > -Bruce > -- > Bruce Tanner (562) 653-7861 Bruce.Tanner@Cerritos.edu > Cerritos College Norwalk, CA
Rejecting due to lack of response