Perl-Critic / PPI

53 stars 44 forks source link

do not rely on '.' being in @INC #196

Closed plicease closed 7 years ago

plicease commented 7 years ago

As of 5.25.7, Perl can be configured to not include '.' in @INC by default. Update Makefile to use lib '.' so that it can find Module::Install on systems that do not have it already (and use the local version in preference to the system in versions that do). Also rename the tests in 't/lib' and add just that directory to @INC.

wchristian commented 7 years ago

Very nice, thanks for doing the hard work here. Integrated in master and will go out with the next release. :)

wchristian commented 7 years ago

Thanks, this has been cherry-picked and released. :)