develooper Front page | perl.perl5.porters | Postings from September 2018

RFC: change perl5 versioning

Thread Next
September 25, 2018 12:04
RFC: change perl5 versioning
Message ID:
Hi all,

I'd like to ask you your opinion about changing perl5 versioning to reflect
year it was released.


- it will show more clearly that language is still alive and maintained
- I think it will be easier to advocate upload with words "we are using
perl5 version 2010", current version is 2018
- current Modern::Perl can be confusing (specially for newcomers) where you
have to know which version was released when.

I tried to walk through some workflows:

- $] is number, can be changed to 4+3 or 4+2 pattern
eg: 5..201801 or 5.2018001

Numeric comparison will work, though pretty print will be affected.

Works fine with vstring:

bash$ perl -Mv5.2018
Perl v5.2018.0 required--this is only v5.6.2, stopped.

with just number pretty print is not so clear:

bash$ perl -M5.2018
Perl v5.201.800 required--this is only v5.6.2, stopped.

Solution can be for example to enforce vstring in "use VERSION" if VERSION
> 5.2

- both ExtUtils::MakeMaker and Module::Build can handle these versions

There is also gist summary:

Best regards,
Branislav ZahradnĂ­k

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About