Only on Perl 5.10, a bizarre error occurs like https://travis-ci.org/yak1ex/String-Unescape/jobs/24323913
It is reproduced in my local environment (Cygwin) by the following procedure.
- Clone https://github.com/yak1ex/String-Unescape
- Install newly Perl-5.10.1 environment by perlbrew
- Install Dist::Zilla like
perlbrew exec --with perl-5.10.1 cpanm Dist::Zilla
- Install dependent modules like
dzil authordeps | perlbrew exec --with perl-5.10.1 cpanm
perlbrew exec --with perl-5.10.1 perl /usr/local/bin/dzil build
causes error shown in output.log
I created minimal dist causing the same error. It is attached as test.tar.bz2.
perlbrew exec --with perl-5.10.1 perl -wc .../Pod/Weaver/Section/AllowOverride.pm
shows OK.- Use via App::podweaver like
perlbrew exec --with perl-5.10.1 podweaver
causes no such an error.
So, using via Dist::Zilla::Plugin::PodWeaver triggers something related with the error.
Interestingly, adding use feature qw(:5.10);
after use 5.010;
magically disappears the error, though I can not understand the reason. As far as I understand, use 5.010;
includes use feature qw(:5.10);
. So, the root cause of this behavior exists somewhere else and this is just a workaround but it looks too difficult for me to track down the root cause...