From: Dagfinn Ilmari Mannsåker Date: Wed, 14 Mar 2018 12:43:55 +0000 (+0000) Subject: Put '.' last in @INC, not first X-Git-Tag: v0.36~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Static-Simple.git;a=commitdiff_plain;h=151e38488560a9f806095673c6d069ccbb909703 Put '.' last in @INC, not first --- diff --git a/Makefile.PL b/Makefile.PL index f1c0d29..bf23827 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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;