Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.4 AutoSplitChapter 8
Standard Modules
Next: Reference: autosplit_lib_modules


autosplit (file, dir, keep, check, modtime)

Splits the module into files. Each file is given the name of the subroutine it contains, with .al appended. autosplit also creates the file autosplit.ix, which serves as both a forward declaration of all package routines and as a timestamp showing when the hierarchy was last updated. Takes the following arguments:


Filename of program or module to be split.


Name of directory hierarchy in which to store the split files.


If false, pre-existing .al files in the auto directory that are no longer part of the module are deleted.


If true, checks to be sure the module being split includes a use AutoLoader statement. If the statement is missing, autosplit doesn't process the module.


If true, only splits the module if it is newer than autosplit.ix.

Previous: 8.4 AutoSplitPerl in a NutshellNext: Reference: autosplit_lib_modules
8.4 AutoSplitBook IndexReference: autosplit_lib_modules