in reply to Re: Re: Using Modules
in thread Using Modules
A lot depends on the monk's RDBMS. I prefer a native DBD::MySQL driver to the more generic ODBC connect, but to each their own.
snippet to list ODBC data sources:
---- I am what I read#! perl -w use strict; use DBI; my @driver_names = DBI->available_drivers; print join("\n",@driver_names), "\n"; my @dataSources = DBI->data_sources ("ODBC"); print join("\n-",@dataSources);
|
---|
In Section
Seekers of Perl Wisdom