Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by Xxaxx (Monk)
on Jun 12, 2001 at 03:34 UTC ( [id://87679]=note: print w/replies, xml ) Need Help??


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

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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://87679]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-03-29 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found