This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: Proposed changes and to regular expression interfaces in core
[perl5.git] / plan9 / versnum
CommitLineData
cceca5ed
GS
1/PERL_VERSION/ {base = $3}
2/PERL_SUBVERSION/ {subvers = $3}
760ac839
LW
3END {
4if (subvers == 0)
5 printf "p9pvers = 5.%03d\n", base> "buildinfo";
6else
7 printf "p9pvers = 5.%03d_%02d\n" , base, subvers> "buildinfo";
8}