Subject: | enc2xs may have a perl version attached |
Sometimes the module cannot be built because enc2xs is not found. Example report:
http://www.cpantesters.org/cpan/report/ea53a33e-0b3e-11e5-bec5-663ce0bfc7aa
This is the case for bleadperls where no Encode.pm happened. In these cases enc2xs exists as enc2xs5.23.4 or so. So it would be nice if another try to find a suitable enc2xs script was done, e.g. using the following (untested):
if (!defined $enc2xs) {
(my $v = $^V) =~ s{^v}{};
$enc2xs_fpath = File::Spec->catfile($dpath, 'enc2xs' . $v);
$enc2xs = $enc2xs_fpath
if (-x $enc2xs_fpath);
}