ExtUtils::Miniperl

ExtUtils::Miniperl

NAME

ExtUtils::Miniperl - write the C code for perlmain.c

SYNOPSIS

use ExtUtils::Miniperl;
writemain(@directories);
# or
writemain($fh, @directories);
# or
writemain(\$filename, @directories);

DESCRIPTION

writemain() takes an argument list of directories containing archive libraries that relate to perl modules and should be linked into a new perl binary. It writes a corresponding perlmain.c file that is a plain C file containing all the bootstrap code to make the modules associated with the libraries available from within perl. If the first