X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FAcme-CPANAuthors-You-re_using.git;a=blobdiff_plain;f=lib%2FAcme%2FCPANAuthors%2FYou%2Fre_using.pm;h=42c52936a545184b7ffa90682a8c181e9cd5c120;hp=7c08bb6153724ef2519e963626f0adba2528dce2;hb=b3a0b1bbf279a40842b7244e25d8b9e951a82f90;hpb=e8b06a5663a989f54c31b85081660ea48f24d495 diff --git a/lib/Acme/CPANAuthors/You/re_using.pm b/lib/Acme/CPANAuthors/You/re_using.pm index 7c08bb6..42c5293 100644 --- a/lib/Acme/CPANAuthors/You/re_using.pm +++ b/lib/Acme/CPANAuthors/You/re_using.pm @@ -48,8 +48,10 @@ This function is automatically called when you C this module, unless you ha BEGIN { require Acme::CPANAuthors::Register; } +our $SKIP; + sub register { - return if shift; + return if $SKIP; my %authors; @@ -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,2010 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.