DBIx-NamedDSN
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
else {
print "$location not found...we'll create a stub now.\n";
eval {
open FH, ">$location" or die ("Could not open $location for writing");
print FH<<STUB;
# named_dsn.conf
# This is the stub configuration file for DBIx::NamedDSN (version
# 0.01). Use this file to define your data source names and
# connection strings and optional login credentials.
# This file consists of up to four tab-separated columns. The first
# column is the unique name given to this configuration. This should
# be a single word which matches the perl regexp /^\w+\$/. This name
# is what you refer to in your programs when you want to connect to
# the given data source.
# The second column is the dsn passed to the DBI's connect method.
# Currently the only criterion for this string is that it begins with
# the characters "dbi" and contains no tabs. DBIx::NamedDSN currently
( run in 0.228 second using v1.01-cache-2.11-cpan-4d50c553e7e )