SIL::Shoe::Settings - Corresponds to a Shoebox Settings directory
$s = SIL::Shoe::Settings->new("c:/My Shoebox Settings"); $t = $s->type("MDF"); $l = $s->lang("Default");
Creates a directory of all .typ and .lng files according to the names that are stored within the files. Then provides the appropriate objects, read, when asked.
The following methods are available:
Reads the given directory building up lists of type and language files. For each file, an appropriate stub object is read (new is called, but not read). From this the internal directories are built.
Returns the type object associated with $name if it exists, or undef.
Returns the lang object associated with $name if it exists, or undef.
To install SIL::Shoe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SIL::Shoe
CPAN shell
perl -MCPAN -e shell install SIL::Shoe
For more information on module installation, please visit the detailed CPAN module installation guide.