in reply to Connecting to database
If you're already familiar with the Perl DBI, you can use DBD::ODBC: my $dbh = DBI->connect("dbi:ODBC:odbc_dsn"); You'll have to set up a Data Source Name with the ODBC32 applet in the Control Panel.use Win32::ODBC; my $db = new Win32::ODBC("DSN=MyDataDSN;UID=user;PWD=password") || die + Win32::ODBC::Error();
disclaimer: I'm working from notes here, as my Win32 programming experience is minimal, and I see no reason to change that. :)
|
|---|