use Win32::ODBC my $DSN = "myDSN"; my $db = new Win32::ODBC($DSN); #### my $db = new Win32::ODBC("DSN=$DSN;UID=$DSNuserName;PWD=$DSNpassword");