Subject: | Optional test (in t/40resultsetmanager.t) not being skipped |
Module::Find is listed as a recommended (i.e., optional)
module in Build.PL
In t/40resultsetmanager.t
the $EVAL_ERROR ($@) variable is only checked
against one of two require(d) modules:
eval { require Class::Inspector; require Module::Find };
if ($@ =~ m{Can.t locate Class/Inspector.pm}) {
plan skip_all => "ResultSetManager requires Class::Inspector and
Module::Find";
} else {
Shouldn't that be
if ($@ =~ m{Can.t locate (Class/Inspector.pm|Module/Find.pm)}) {
?
This had caused my
./Build install
to fail.