Book HomeJava and XSLTSearch this book

8.76. ExtUtils::Miniperl

Generates a file, perlmain.c, that contains the bootstrap code to make the modules associated with the libraries available from within Perl. ExtUtils::Miniperl itself is generated automatically from a script called minimod.PL when Perl is built; typically, it is used from within a Makefile generated by ExtUtils::MakeMaker rather than being called directly. The module exports one subroutine.

writemain

writemain (dirs)

Takes an argument list of directories that contain archive libraries needed by Perl modules and writes the file to be compiled as perlmain.c to STDOUT.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.