Skip to content
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

Check perl version #14

Open
zoffixznet opened this issue Dec 15, 2016 · 1 comment
Open

Check perl version #14

zoffixznet opened this issue Dec 15, 2016 · 1 comment

Comments

@zoffixznet
Copy link
Contributor

Don't see if it does it already in code.... I notice some user put "perl": "6", which is after 6.c and any other version we release. Since the field specifies the minimum perl version for the module, such modules would be uninstallable once our module installers actually care about that attribute.

@jonathanstowe
Copy link
Owner

I'm not sure what the test should be though

 $ver < v6 && $ver >= v6.c

but then other things could pass that. Or just

$ver.parts[0] == 6 && $ver.parts.elems == 2

I'll have a think during the hackday at work tomorrow :)

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

No branches or pull requests

2 participants