New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less warnings/errors during "perl Makefile.PL && make && make test" #3

Open
wants to merge 8 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@sebokopter

sebokopter commented Sep 25, 2015

Smaller fixes to have less warnings/errors during "perl Makefile.PL && make && make test".

sebokopter added some commits Sep 25, 2015

Fix errors when executing "perl Makefile.PL"
Add "use" statement for the following modules:

Module::Install::ReadmeFromPod
Module::Install::ReadmeMarkdownFromPod
Module::Install::GithubMeta
Module::Install::Repository

to get a better undestandable error message on a host without those
Install::Module::* then this following error message:

  String found where operator expected at Makefile.PL line 4, near "readme_from 'lib/Geo/Coordinates/Converter.pm'"
          (Do you need to predeclare readme_from?)
  String found where operator expected at Makefile.PL line 5, near "readme_markdown_from 'lib/Geo/Coordinates/Converter.pm'"
          (Do you need to predeclare readme_markdown_from?)
  syntax error at Makefile.PL line 4, near "readme_from 'lib/Geo/Coordinates/Converter.pm'"
  Bareword "githubmeta" not allowed while "strict subs" in use at Makefile.PL line 4.
  Bareword "auto_set_repository" not allowed while "strict subs" in use at Makefile.PL line 21.
  Execution of Makefile.PL aborted due to compilation errors.
Fix failing "make test".
"make test" fails if Test::Perl::Critic and Test::Spelling are not
installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment