summaryrefslogtreecommitdiff
path: root/debian/mkprovides
blob: 051e3effbcbaa72025a9d312c088bbb5b9b30967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!perl -w

#
# Create perlapi-<ver> provides substvar
#

BEGIN { unshift @INC, 'lib' }
use strict;
use Config;

print +(join ', ', map "perlapi-$_",
	sort $Config{version},
	grep /^[0-9.]+$/,
	split ' ', $Config{inc_version_list}), "\n";