Move autouse from lib to ext
authorSteffen Mueller <smueller@cpan.org>
Thu, 3 Sep 2009 12:22:07 +0000 (14:22 +0200)
committerSteffen Mueller <smueller@cpan.org>
Thu, 3 Sep 2009 14:11:22 +0000 (16:11 +0200)
MANIFEST
Porting/Maintainers.pl
ext/.gitignore
ext/autouse/lib/autouse.pm [moved from lib/autouse.pm with 100% similarity]
ext/autouse/t/autouse.t [moved from lib/autouse.t with 93% similarity]
lib/.gitignore

index a1b56d3..bd45358 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -81,6 +81,8 @@ ext/Attribute-Handlers/t/linerep.t    See if Attribute::Handlers works
 ext/Attribute-Handlers/t/multi.t       See if Attribute::Handlers works
 ext/attributes/attributes.pm           For "sub foo : attrlist"
 ext/attributes/attributes.xs           For "sub foo : attrlist"
+ext/autouse/lib/autouse.pm     Load and call a function only when it's used
+ext/autouse/t/autouse.t                See if autouse works
 ext/base/Changes               base.pm changelog
 ext/base/lib/base.pm           Establish IS-A relationship at compile time
 ext/base/lib/fields.pm         Set up object field names for pseudo-hash-using classes
@@ -2037,8 +2039,6 @@ lib/AutoLoader.pm         Autoloader base class
 lib/AutoLoader/t/01AutoLoader.t        See if AutoLoader works
 lib/AutoLoader/t/02AutoSplit.t See if AutoSplit works
 lib/AutoSplit.pm               Split up autoload functions
-lib/autouse.pm                 Load and call a function only when it's used
-lib/autouse.t                  See if autouse works
 lib/Benchmark.pm               Measure execution time
 lib/Benchmark.t                        See if Benchmark works
 lib/bigfloat.pl                        An arbitrary precision floating point package
index 3db0351..956bcd9 100755 (executable)
@@ -2005,6 +2005,8 @@ package Maintainers;
        {
        'MAINTAINER'    => 'p5p',
        'FILES'         => q[
+                               ext/autouse/lib
+                               ext/autouse/t
                                ext/B/B.pm
                                ext/B/typemap
                                ext/B/Makefile.PL
@@ -2144,7 +2146,6 @@ package Maintainers;
                                lib/User/pwent.{pm,t}
                                lib/abbrev.pl
                                lib/assert.pl
-                               lib/autouse.{pm,t}
                                lib/bigfloat{.pl,pl.t}
                                lib/bigint{.pl,pl.t}
                                lib/bigrat.pl
index 3208b4b..775a62b 100644 (file)
@@ -14,6 +14,7 @@ ppport.h
 !/XS-Typemap/stdio.c
 /Attribute-Handlers/Makefile.PL
 /attributes/Makefile.PL
+/autouse/Makefile.PL
 /base/Makefile.PL
 /B-Debug/Makefile.PL
 /B-Deparse/Makefile.PL
similarity index 100%
rename from lib/autouse.pm
rename to ext/autouse/lib/autouse.pm
similarity index 93%
rename from lib/autouse.t
rename to ext/autouse/t/autouse.t
index d4ca15a..42caf17 100644 (file)
@@ -1,10 +1,8 @@
 #!./perl
 
 BEGIN {
-    chdir 't' if -d 't';
-    @INC = '../lib';
     require Config;
-    if (($Config::Config{'extensions'} !~ m!\bList/Util\b!) ){
+    if ($Config::Config{'extensions'} !~ m!\bList/Util\b!){
        print "1..0 # Skip -- Perl configured without List::Util module\n";
        exit 0;
     }
index 9e3fc80..9076d3d 100644 (file)
@@ -1,4 +1,5 @@
 /Attribute
+/autouse.pm
 /B.pm
 /B
 /Compress