]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/blobdiff - lib/Acme/CPANAuthors/You/re_using.pm
Bump copyright year
[perl/modules/Acme-CPANAuthors-You-re_using.git] / lib / Acme / CPANAuthors / You / re_using.pm
index 5d3932f514b536b364fb5f47db94010a16d41686..42c52936a545184b7ffa90682a8c181e9cd5c120 100644 (file)
@@ -15,13 +15,13 @@ Acme::CPANAuthors::You::re_using - We are the CPAN authors that have written the
 
 =head1 VERSION
 
-Version 0.01
+Version 0.03
 
 =cut
 
 our $VERSION;
 BEGIN {
- $VERSION = '0.01';
+ $VERSION = '0.03';
 }
 
 =head1 SYNOPSIS
@@ -48,8 +48,10 @@ This function is automatically called when you C<use> this module, unless you ha
 
 BEGIN { require Acme::CPANAuthors::Register; }
 
+our $SKIP;
+
 sub register {
- return if shift;
+ return if $SKIP;
 
  my %authors;
 
@@ -59,7 +61,7 @@ sub register {
  my $auths = Acme::CPANAuthors::Utils::cpan_authors();
  croak 'Couldn\'t retrieve a valid Parse::CPAN::Authors object' unless $auths;
 
- my $installed = ExtUtils::Installed->new(extra_libs => \@INC);
+ my $installed = ExtUtils::Installed->new();
  croak 'Couldn\'t create a valid ExtUtils::Installed object' unless $installed;
 
  for ($installed->modules) {
@@ -85,9 +87,7 @@ sub register {
  Acme::CPANAuthors::Register->import(%authors);
 }
 
-our $SKIP;
-
-BEGIN { register($SKIP) }
+BEGIN { register() }
 
 =head1 DEPENDENCIES
 
@@ -115,7 +115,7 @@ You can find documentation for this module with the perldoc command.
 
 =head1 COPYRIGHT & LICENSE
 
-Copyright 2009 Vincent Pit, all rights reserved.
+Copyright 2009,2010,2011 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.