-
-
28 May 2022 00:26:10 UTC
- Distribution: perl
- Module version: 1.11
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (2152)
- Testers
- Kwalitee
Bus factor: 14- License: perl_5
- Activity
24 month- Tools
- Download (19.29MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- perl5-porters@perl.org
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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 towritemain()
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 toSTDOUT
.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
Module Install Instructions
To install less, copy and paste the appropriate command in to your terminal.
cpanm less
perl -MCPAN -e shell install less
For more information on module installation, please visit the detailed CPAN module installation guide.