in reply to Using Perl to connect using trusted connection

1) Use odbcad to create a system DSN. At the end of the wizard, click "Test Connection" to make sure it's set up properly.

2) Specify the username and password in the DBI connect() call.

my $dbh = DBI->connect("dbi:ODBC:$dsnname", $username, $password);
joecamel