DBIx::Wrapper::ConfigDBIx::Wrapper::Config Perl module allows the use of a configuration file in XML specifying information. | |
Download |
DBIx::Wrapper::Config Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Don Owens
- Publisher web site:
- http://search.cpan.org/~dowens/File-Rotate-Backup-0.13/lib/File/Rotate/Backup.pm
DBIx::Wrapper::Config Tags
DBIx::Wrapper::Config Description
DBIx::Wrapper::Config Perl module allows the use of a configuration file in XML specifying information. DBIx::Wrapper::Config Perl module allows the use of a configuration file in XML specifying information required to connect to databases using DBIx::Wrapper.This way, your database connection specifications can be kept in one place.Each "db" element specifies a key/name for the database connection, which should be passed as the $db_key argument to connect() in order to connect to that database. The "db" element's children specify the dsn, authentication, and attribute information. dbi:mysql:database=test_db;host=example.com;port=3306 test_user test_pwd test_user test_pwd connect($db_key, $conf_path, ix_wrapper_attrs) Return a DBIx::Wrapper object connected to the database specified by $db_key in the file at $conf_path.ix_wrapper_attrs is the optional 5th argument to DBIx::Wrapper's connect() method, specifying handlers, etc. The file specified by $conf_path should be in the format specified in the DESCRIPTION section of this document.Installation: perl Makefile.PL make make test make install
DBIx::Wrapper::Config Related Software