diff options
Diffstat (limited to 'perl-install/verify_c')
-rwxr-xr-x | perl-install/verify_c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/perl-install/verify_c b/perl-install/verify_c new file mode 100755 index 000000000..a306348dd --- /dev/null +++ b/perl-install/verify_c @@ -0,0 +1,14 @@ +#!/usr/bin/perl -n + +/^#/ and next; +/c::(\w+)/ and push @c, [ $1, $ARGV, $. ] ; + +eof && close ARGV; + +END { + $_ = join '', `cat c/c.xs.pm`; + foreach $c (@c) { + /$c->[0]/ or $err = print "$c->[1]:$c->[2]: $c->[0] not in c.xs\n"; + } + exit $err; +} |