This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Specify the versions of ExtUtils::MiniPerl and ExtUtils::Embed needed.
[perl5.git] / regen / miniperlmain.pl
CommitLineData
c8935f6c
NC
1#!/usr/bin/perl
2
3use strict;
4
5BEGIN {
6 # Get function prototypes
7 require 'regen/regen_lib.pl';
8 unshift @INC, 'ext/ExtUtils-Miniperl/lib';
9}
10
358c04b7 11use ExtUtils::Miniperl 1;
c8935f6c 12
47be8fd0 13my $fh = open_new('miniperlmain.c', undef, {by => "$0 and ExtUtils::Miniperl"});
c8935f6c 14writemain($fh);
47be8fd0 15read_only_bottom_close_and_rename($fh);