markpitchless/moosex-getopt-usage

Can't locate Pod/Select.pm

eserte opened this issue · 0 comments

t/00-load.t fails if Pod::Select is not installed:

#   Failed test 'use MooseX::Getopt::Usage;'
#   at t/00-load.t line 6.
#     Tried to use 'MooseX::Getopt::Usage'.
#     Error:  Can't locate Pod/Select.pm in @INC (you may need to install the Pod::Select module) (@INC contains: ... ) at /home/cpansand/.cpan/build/2019092319/MooseX-Getopt-Usage-0.24-1/blib/lib/MooseX/Getopt/Usage/Formatter.pm line 13.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019092319/MooseX-Getopt-Usage-0.24-1/blib/lib/MooseX/Getopt/Usage/Formatter.pm line 13.
# Compilation failed in require at /home/cpansand/.cpan/build/2019092319/MooseX-Getopt-Usage-0.24-1/blib/lib/MooseX/Getopt/Usage.pm line 9.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019092319/MooseX-Getopt-Usage-0.24-1/blib/lib/MooseX/Getopt/Usage.pm line 9.
# Compilation failed in require at t/00-load.t line 6.
# BEGIN failed--compilation aborted at t/00-load.t line 6.
Bailout called.  Further testing stopped:  
...

corelist in perl5.31.4 says:

$ perl5.31.4 -S corelist Pod::Select   

Data for 2019-09-20
Pod::Select was first released with perl v5.6.0 and removed from v5.31.1

So it seems that Pod::Select has to be specified as prerequisite.