Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

ExtUtils::Miniperl

Name ExtUtils::Miniperl
Version 1.06
Located at /usr/share/perl5
File /usr/share/perl5/ExtUtils/Miniperl.pm
Is Core Yes
Search CPAN for this module ExtUtils::Miniperl
Documentation ExtUtils::Miniperl
Module Details ExtUtils::Miniperl

NAME

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


SYNOPSIS

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


DESCRIPTION

writemain() takes an argument list of zero or more directories containing archive libraries that relate to perl modules and should be linked into a new perl binary. It writes a corresponding miniperlmain.c or 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 argument to writemain() is a reference to a scalar it is used as the filename to open for output. Any other reference is used as the filehandle to write to. Otherwise output defaults to STDOUT.

The typical usage is from within perl's own Makefile (to build perlmain.c) or from regen/miniperlmain.pl (to build miniperlmain.c). So under normal circumstances you won't have to deal with this module directly.


SEE ALSO

the ExtUtils::MakeMaker manpage

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024