Skip to content

Fix Dist::Zilla PkgVersion "no blank line" warnings#24

Open
paultcochrane wants to merge 1 commit into
iinteractive:masterfrom
paultcochrane:fix-dzil-pkgversion-no-blank-line-warnings
Open

Fix Dist::Zilla PkgVersion "no blank line" warnings#24
paultcochrane wants to merge 1 commit into
iinteractive:masterfrom
paultcochrane:fix-dzil-pkgversion-no-blank-line-warnings

Conversation

@paultcochrane
Copy link
Copy Markdown

When running the tests via dzil test, I found that the Dist::Zilla plugin PkgVersion gave several warnings like this:

[@DOY/PkgVersion] no blank line for $VERSION after package OX statement in lib/OX.pm line 1

What this means is that PkgVersion expects an empty line after the package statement in each module file.

This change adds this blank line to all of the affected files, hence removing the warnings and hence the distraction when running the test suite.

This pull request is submitted in the hope that it is useful. If you want anything changed, please let me know and I'll be more than happy to update and resubmit as necessary.

When running the tests via `dzil test`, I found that the `Dist::Zilla`
plugin `PkgVersion` gave several warnings like this:

```
[@DOY/PkgVersion] no blank line for $VERSION after package OX statement in lib/OX.pm line 1
```

What this means is that `PkgVersion` expects an empty line after the
`package` statement in each module file.

This change adds this blank line to all of the affected files, hence
removing the warnings and hence the distraction when running the test
suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant