ExtUtils::Miniperl - write the C code for perlmain.c
use ExtUtils::Miniperl;writemain(@directories);# orwritemain($fh, @directories);# orwritemain(\$filename, @directories);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 correspondingperlmain.c file that is a plain C file containing all the bootstrap code to make the If the first argument towritemain() is a reference to a scalar it is used as the filename to open for ouput. Any other reference is used as the filehandle to write to. Otherwise output defaults toSTDOUT.
The typical usage is from within a Makefile generated byExtUtils::MakeMaker. So under normal circumstances you won't have to deal with this module directly.
Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.
The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.