[rt.cpan.org #117887] Not parsing new release of Net::DNS::Resolver

2016-12-19 Thread Roderich Schupp via RT
Mon Dec 19 08:37:55 2016: Request 117887 was acted upon.
Transaction: Correspondence added by RSCHUPP
   Queue: Module-ScanDeps
 Subject: Not parsing new release of Net::DNS::Resolver
   Broken in: (no value)
Severity: (no value)
   Owner: Nobody
  Requestors: p...@cpan.org
  Status: open
 Ticket https://rt.cpan.org/Ticket/Display.html?id=117887 >


Fixed in 1.22


[rt.cpan.org #117887] Not parsing new release of Net::DNS::Resolver

2016-09-17 Thread Roderich Schupp via RT
Sat Sep 17 16:58:52 2016: Request 117887 was acted upon.
Transaction: Correspondence added by RSCHUPP
   Queue: Module-ScanDeps
 Subject: Not parsing new release of Net::DNS::Resolver
   Broken in: (no value)
Severity: (no value)
   Owner: Nobody
  Requestors: p...@cpan.org
  Status: new
 Ticket https://rt.cpan.org/Ticket/Display.html?id=117887 >


On 2016-09-16 05:20:19, PECO wrote:
> Maybe it's not a bug, just a limitation.

Yeah, we need a %Preload rule for that.
Fixed in 1.22, just released.

Cheers, Roderich


[rt.cpan.org #117887] Not parsing new release of Net::DNS::Resolver

2016-09-16 Thread Juan Jose San Martin via RT
Fri Sep 16 05:20:19 2016: Request 117887 was acted upon.
Transaction: Ticket created by PECO
   Queue: Module-ScanDeps
 Subject: Not parsing new release of Net::DNS::Resolver
   Broken in: (no value)
Severity: (no value)
   Owner: Nobody
  Requestors: p...@cpan.org
  Status: new
 Ticket https://rt.cpan.org/Ticket/Display.html?id=117887 >


Hello,

Maybe it's not a bug, just a limitation.

The current release of Net::DNS::Resolver.pm (v1.06) starts with a BEGIN block 
that cannot be parsed by ScanDeps

It's like follows:

use vars qw(@ISA);
BEGIN {
for ( $^O, 'UNIX' ) {
   my $class = join '::', __PACKAGE__, $_;
   return @ISA = ($class) if eval "require $class;";
   }
   die 'failed to load platform specific resolver component';
}

Cheers,
Peco