Uttu::Manual::FunctionSet is a Perl module with description of function sets.
A function set is a collection of content files and Perl modules that together provide a functional module for an application, such as e-mail, user management, or announcements. A function set typically is written with a particular framework in mind, so it expects authentication and session information, for example, to be stored in a particular manner.
A function set has a name, usually a single word. If it has a configuration module associated with it, it needs to be the same name as the module.
A function set may have any or all of the following parts.
This is the default directory in which function sets are placed in a distribution. These may be auxiliary sets that are logical subdivisions in support of the primary function set for which the distribution may be named.
All subdirectories under this directory are considered function sets. A configuration module is not required.
If a directory is in the top level source directory and either a module exists in the top level directory with the same name, or such a module exists within the directory, then that directory is considered a function set. The module is used to configure the function set.
For example, the following is a valid function set:
as well as
These are the language modules. These will be installed under $uttu_prefix/functionsets/$framework/lib/perl/Uttu/Framework/$framework/L10N/xxx*.
Files here are treated as in a normal Perl module distribution.
Function sets may use the Uttu::MakeMaker module in a Makefile.PL to provide an installation method that mirrors that of standard modules on CPAN. See Uttu::MakeMaker for more information.
% perl Makefile.PL PREFIX=
... # other ExtUtils::MakeMaker options
% make install