The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PApp::Config - hold common configuration settings

Functions

@paths = search_path [path...]

Return the standard search path and optionally add additional paths. (The returned path entries might or might not include the arguments).

Defined Keys in the %PApp::Config Hash

The following configuration items are available in the %PApp::Config hash. Keys marked with a star (*) are access-restricted and can only be accessed from processes having read-access to the config file in libdir.

SECURE

A boolean indicating wether secure configuration values (marked with an "*") are available (or not).

LIBDIR

The standard papp library directory.

I18NDIR

The directory where translation files are being storerd (usually "LIBDIR/i18n").

STATEDB

The DSN specification for papp's statedb (also used by poedit and acedit). Usually something like 'DBI:mysql:papp'.

STATEDB_USER, STATEDB_PASS*

The username and password to access the state database.

CIPHERKEY*

The cipherkey to use to encrypt cookies.

SEE ALSO

PApp.

AUTHOR

Marc Lehmann <schmorp@schmorp.de>