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

PMpre and PMpost properties for uniform and versioned perl module headers #62

merged 1 commit into from Jan 11, 2016
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+29 −0
Diff settings


Just for now

Copy path View file
@@ -22,6 +22,35 @@
<unittest />
<!-- perl module headers.
Usage: at the beginning of the module put:
#${PMpre} Some::Namespace::packagename${PMpost}
The space after the ${PMpre} is mandatory, due to maven space eating properties
TODO: Should add up to 20 lines of text for fixed offset? -> move to the

<!-- version numbers should be boring:
always use 'use version;' and a version instance for pre 5.10 support
you can now refer to these modules with vstrings: 'use X::Y::Z v1.2.3;'

use strict;
use warnings;

use version;
our $VERSION = version->new("v${no-snapshot-version}");

ProTip! Use n and p to navigate between commits in a pull request.