in reply to (ar0n) Re: reading from txt file and inserting into database tables
in thread reading from txt file and inserting into database tables

ar0n, I'm also learning DBI.
Since the die comes after the "DBI->connect" I was wondering whether the DBI needs any special handling to close the database connections?

Or does that get handled in the wash?

I know your code was not intended to be complete. But this looked like a good place to ask for a little clarificaion. I have the Programming with DBI book coming from Amazon. It should be here early next week.

Thanks
Claude

  • Comment on Re: (ar0n) Re: reading from txt file and inserting into database tables

Replies are listed 'Best First'.
Re: Re: (ar0n) Re: reading from txt file and inserting into database tables
by busunsl (Vicar) on Jun 12, 2001 at 10:24 UTC
    DBI is clever enough to disconnect from the database when the program finishes, though it might complain about it.

    Good you get that book, it's great!