in reply to Bad file descriptor error.... No idea what that is ... please help :-D

DBI shouldn't be setting $! (and, to my knowledge, doesn't), so that's a meaningless error message. Look in perlvar to see what sets $! and why you can't rely on it in this situation.

  • Comment on Re: Bad file descriptor error.... No idea what that is ... please help :-D
  • Download Code

Replies are listed 'Best First'.
Re: Re: Bad file descriptor error.... No idea what that is ... please help :-D
by mjolnir (Initiate) on Dec 29, 2002 at 00:26 UTC
    It is usually better to use $DBI::err and $DBI::errstr after a failed connect attempt. (I don't think you can use the methods because there's not an object to reference.)