Thu Jan 12 14:33:31 2017: Request 119737 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: Module-ScanDeps
     Subject: Problems with detecting DateTime::Format::Natural dependencies
   Broken in: (no value)
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: webmas...@korten-privat.de
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119737 >


On 2017-01-11 16:51:38, kor...@mpi-cbg.de wrote:

> >> Anyway, I'm adding an explicit rule for DateTime::Format::Natural to 
> >> Module::ScanDeps
> >> that should make it work "out of the box".

> I just updated PAR (1.014), PAR::Packer (1.036) and Module::ScanDeps 
> (1.23). However, that did not fix the issue for me. I guess, the fix did 
> not make it into the official cpan repository,yet. Is there a way for me 
> to test the fixed version already now or should I just wait for the next 

Yes, the fix isn't released yet, but I've pushed it to github...
Or just apply the one-line patch below.

Cheers, Roderich


diff --git a/lib/Module/ScanDeps.pm b/lib/Module/ScanDeps.pm
index 86b0c73..afcff46 100644
--- a/lib/Module/ScanDeps.pm
+++ b/lib/Module/ScanDeps.pm
@@ -281,6 +281,7 @@ my %Preload = (
                 _glob_in_inc('Date/Manip/Offset', 1));
     },
     'DateTime/Format/Builder/Parser.pm' => 'sub',
+    'DateTime/Format/Natural.pm'        => 'sub',
     'DateTime/Locale.pm'                => 'sub',
     'DateTime/TimeZone.pm'              => 'sub',
     'DBI.pm'                            => sub {

Reply via email to