This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
parts/inc/inctools: Add function to format version
authorKarl Williamson <khw@cpan.org>
Sun, 21 Jul 2019 00:04:15 +0000 (18:04 -0600)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 22:39:32 +0000 (16:39 -0600)
commitbfa9390c1c2e1563af5705a5ea6065efeded1bd9
treeb8f3a21f9846f70bbd56cc4243bf8c85d0b3c1df
parentef85fbc7760d0122788b0ba7b04c4462ac7e11db
parts/inc/inctools: Add function to format version

This takes a version number and creates a floating point version with
exactly 7 digits with a decimal point after the 5.  This is used as the
first line in files in parts/todo,base, as well as in the data in
ppport.h.

(cherry picked from commit fad2103a9a2c28ff439b9b7c851a9e09194e91a6)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/parts/inc/inctools