NAME
Quizzer::Config - Quizzer meta-configuration module
DESCRIPTION
This package holds configuration values for debconf. It supplies defaults, and allows them to be overridden by values pulled right out of the debconf database itself.
METHODS
configfile
Where to store the config file
dbdir
Where to store the database.
tmpdir
Where to put temporary files. /tmp isn't used because I don't bother opening these files safely, since that requires the use of Fcntl, which isn't in perl-base
getconfoption
Given an option name as parameter returns the option value.
frontend
The frontend to use. A value is pulled out of the database if possible, otherwise a default is used.
If a value is passed to this function, it changes it temporarily (for the lifetime of the program) to override what's in the database.
If DEBIAN_FRONTEND is set in the environment, it overrides all this.
level
The lowest level of questions you want to see. A value is pulled out of the database if possible, otherwise a default is used.
If a value is passed to this function, it changes it temporarily (for the lifetime of the program) to override what's in the database.
showold
If true, then old questions the user has already seen are shown to them again. A value is pulled out of the database if possible, otherwise a default of false is used.
If a value is passed to this function, it changes it temporarily (for the lifetime of the program) to override what's in the database.
AUTHOR
Joey Hess <joey@kitenet.net>