NAME

Litigation::Database::Config - Reads the Litigation::Database configuration file(s)

SYNOPSIS

  my $directory = ld_conf("web_directory");

DESCRIPTION

Reads configuration variables from /etc/litigation-database/litigation-database.conf and /etc/litigation-database/litigation-database-private.conf, and provides a method, ld_conf, for accessing the variables.

INTERFACE

ld_conf(variable)

The ld_conf method, which is exported by default, retrieves variable from the Litigation::Database configuration.

ld_conf_clean()

Deletes all configuration variables containing usernames or passwords. This should be called when the usernames and passwords are no longer needed so that those variables are not available to code that runs later.

FILES

/etc/litigation-database/litigation-database.conf

Ordinary configuration variables for use by Litigation::Database code.

/etc/litigation-database/litigation-database-private.conf

Private configuration variables for use by privileged code.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-litigation-servefile@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHOR

Jonathan Pyle <jpyle@litigationdatabase.org>

LICENSE AND COPYRIGHT

Copyright (c) 2010-2014, Jonathan Pyle <jpyle@litigationdatabase.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

SEE ALSO

litigation-database.conf(5), litigation-database-private.conf(5)