Goo::ConfigFile - Goo Config - parse .goo files. Based loosely on .ini files.
use Goo::ConfigFile;
All Things have a corresponding ".goo" file. Perl modules for example have the configuration file "pm.goo".
All .goo files are stored in the user's home directory: ~/.goo/things/.
A .goo configuration file includes a list of actions (e.g., E[X]it) and an action handler (e.g., Exiter.pm). For file-based Things the configuration file includes a "location" field(s) where Things of this type can be found.
For database Things the configuration file includes a "table" field where Things of this type can be found.
return a goo_config_file
return the action handler for a given command
does it have any directory locations?
return a list of all the directory locations found in the config file
slurp in a .goo config file and parse it
very simplistic writer for single key value additions
return the program that handles an action
return all the commands for this config file
does it have a database "table"?
Nigel Hamilton <nigel@trexy.com>
To install Goo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Goo
CPAN shell
perl -MCPAN -e shell install Goo
For more information on module installation, please visit the detailed CPAN module installation guide.