NAME
AutoloadComponent -- autoload components instead of individual functions
USAGE
use AutoloadComponent;
DESCRIPTION
AutoloadComponent is a replacement for the standard AutoLoader package with the following differences:
Instead of splitting functions out automatically from a monolithic source file, functions are split out manually (and edited in separate pieces, instead of as one large file). Each file must begin with the appropriate package declaration.
More than one function may be defined per file, and data associated with the function may also be defined with the file, as well as any cleanup END {} blocks. (This is the main reason why I wrote AutoloadComponent.)
Function stubs are provided by reading the directory containing the files to autoload. The names of the files must correspond to the function to be loaded. If there is more than one function per file, it may be necessary to make several soft links to the same file.