This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5337delta: note that stadtx was removed
[perl5.git] / plan9 / versnum
CommitLineData
a123eb89
R
1/define PERL_REVISION/ {revision = $3}
2/define PERL_VERSION/ {version = $3}
3/define PERL_SUBVERSION/ {subvers = $3}
760ac839
LW
4END {
5if (subvers == 0)
a123eb89 6 printf "p9pvers = %d.%d\n", revision, version> "buildinfo";
760ac839 7else
a123eb89 8 printf "p9pvers = %d.%d.%d\n" , revision, version, subvers> "buildinfo";
760ac839 9}