Fri Mar 13 11:38:55 2015: Request 102689 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: Module-ScanDeps
     Subject: Module::ScanDeps isn't effective
   Broken in: (no value)
    Severity: Wishlist
       Owner: Nobody
  Requestors: z...@cpan.org
      Status: rejected
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=102689 >


On 2015-03-11 10:44:10, dzagas...@gmail.com wrote:
> Will try to find time to make patch.

Or just try the following patch to Module::ScanDeps
which should make pp automagically include anything in namespace AnyEvent::* 
(and their dependencies) without the need for any explicit -M AnyEvent::...


--- lib/Module/ScanDeps.pm      (revision 1555)
+++ lib/Module/ScanDeps.pm      (revision 1556)
@@ -225,6 +225,7 @@
 my %Preload;
 %Preload = (
     'AnyDBM_File.pm'  => [qw( SDBM_File.pm )],
+    'AnyEvent.pm'     => 'sub',
     'Authen/SASL.pm'  => 'sub',
     'B/Hooks/EndOfScope.pm' => [qw( B/Hooks/EndOfScope/PP.pm 
B/Hooks/EndOfScope/XS.pm )],
     'Bio/AlignIO.pm'  => 'sub',


Cheers, Roderich

Reply via email to