--- justin todd <[EMAIL PROTECTED]> wrote: > thanks Paul > This did the trick!! You're very welcome. Since that was it, do you understand why? In Perl, single-quoted strings are not interpolated (that is, are not parsed for special characters or variables). Thus, if $foo='hi'; then '$foo' is literally $foo, dollar sign and all, but "$foo" is hi, because double-quoted strings are interpolated. Be aware also that nesting doesn't change the interpolative state. 'Bob says "$foo".' Isn't going to convert $foo to hi, because the outer quotes are single, so the string isn't parsed. On the other hand, "Bob says '$foo'." *Will* be parsed, and the result will be as if you had typed "Bob says 'hi'." It can catch you, so be aware of it. =o) Good luck! > -----Original Message----- > From: Paul [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 04, 2001 6:42 PM > To: justin todd > Subject: Re: Back slash > --- justin todd <[EMAIL PROTECTED]> wrote: > > $dbh = DBI->connect("DBI:ODBC:ok","MITSOL\SQLExec"); > > . . . > > Server]Login failed for user 'MITSOLSQLExec'. (SQL-28000)(DBD: > > . . . > > As you can see the back slash has been omitted from > 'MITSOLSQLExec'. > > Try single-ticks: > $dbh = DBI->connect("DBI:ODBC:ok",'MITSOL\SQLExec'); __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/