Make sure '.' is last in @INC, not first
[dbsrgits/DBIx-Class-Schema-Loader.git] / Makefile.PL
index 8f296f1..9d79c14 100644 (file)
@@ -2,7 +2,7 @@ use warnings;
 use strict;
 
 use 5.008001;
-use lib '.';
+BEGIN { unshift @INC, '.' unless $INC[-1] eq '.'; }
 use inc::Module::Install 1.00;
 
 use Getopt::Long();