Put '.' last in @INC, not first
[catagits/Catalyst-Plugin-Static-Simple.git] / Makefile.PL
index f1c0d29..bf23827 100644 (file)
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use lib '.';
+BEGIN { push @INC, '.' unless $INC[-1] eq '.'; }
 
 use inc::Module::Install 0.91;
 use Module::Install::AuthorRequires;