http://qs1969.pair.com?node_id=219377


in reply to Re: Using Modules
in thread Using Modules

BTW, I highly recommend using the DBI module over Win32::ODBC

Don't forget that you'll also need DBD::ODBC as well.

-- vek --

Replies are listed 'Best First'.
Re: Re: Re: Using Modules
by earthboundmisfit (Chaplain) on Dec 12, 2002 at 17:53 UTC
    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:

    #! 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);
    ---- I am what I read