AnyEvent 7.13's Makefile.PL expected to stop working on Perl 5.26

Kent Fredric kentfredric at
Mon Mar 6 13:30:58 CET 2017

Under 5.25.10 with -Ddefault_inc_excludes_dot ( which will become
default in 5.25.11 ), Makefile.PL exits as follows:

cannot execute  at Makefile.PL line 25, <STDIN> line 1.
Configuring AnyEvent failed.

This is of course because the sweeping removal of "." from @INC
affects "do $file", because "do $file" also relies on @INC traversal,
and "." being in @INC makes it work.

A simple workaround is to replace usage of

> do ""


> do "./"



More information about the anyevent mailing list