]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/blobdiff - lib/Acme/CPANAuthors/You/re_using.pm
This is 0.08
[perl/modules/Acme-CPANAuthors-You-re_using.git] / lib / Acme / CPANAuthors / You / re_using.pm
index 12818020ad53d813e2297e2db0b08146095c9103..9e2d4f541bf80f2e3d1a2cf12b59997178758d90 100644 (file)
@@ -14,13 +14,13 @@ Acme::CPANAuthors::You::re_using - We are the CPAN authors that have written the
 
 =head1 VERSION
 
-Version 0.03
+Version 0.08
 
 =cut
 
 our $VERSION;
 BEGIN {
- $VERSION = '0.03';
+ $VERSION = '0.08';
 }
 
 =head1 SYNOPSIS
@@ -65,7 +65,10 @@ sub register {
  File::Find::find({
   wanted => sub {
    return unless /\.pm$/;
-   my $mod = Module::Metadata->new_from_file($_);
+   my $mod = do {
+    local $@;
+    eval { Module::Metadata->new_from_file($_) }
+   };
    return unless $mod;
    @modules{grep $_, $mod->packages_inside} = ();
   },
@@ -87,7 +90,7 @@ sub register {
 
   my $name;
   $name = $auth->name if defined $auth;
+
   $authors{$cpanid} = defined $name ? $name : $cpanid;
  }
 
@@ -98,7 +101,11 @@ BEGIN { register() }
 
 =head1 DEPENDENCIES
 
-L<File::Find>, L<Module::Metadata>, L<Acme::CPANAuthors>.
+L<File::Find> (core since perl 5)
+
+L<Acme::CPANAuthors> 0.16.
+
+L<Module::Metadata> 1.000_017.
 
 =head1 SEE ALSO
 
@@ -122,7 +129,7 @@ You can find documentation for this module with the perldoc command.
 
 =head1 COPYRIGHT & LICENSE
 
-Copyright 2009,2010,2011 Vincent Pit, all rights reserved.
+Copyright 2009,2010,2011,2013,2015 Vincent Pit, all rights reserved.
 
 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.