in reply to Re: Need help with MS Access with Perl.......
in thread Need help with MS Access with Perl.......

In this statement you create the OLE object, or if that fails, you die with a message UNLESS it did not fail...Read that again... You want to remove the unless $dbh

No! He creates a database connection (or dies), unless he has one already. Thats a fully valid caching technique.
  • Comment on Re: Re: Need help with MS Access with Perl.......

Replies are listed 'Best First'.
Re: Re: Re: Need help with MS Access with Perl.......
by holygrail (Scribe) on Jun 28, 2001 at 13:38 UTC
    Still kind of strange when you created $dbh in the statement before this one with my $dbh;...

    --HolyGrail
      So he has perhaps the two lines swapped ;-)(sub and my)?