in reply to sqlconnection question
This depends on your code.
Show us a simplified example of what you are doing.
If you use one of the combined functions of DBI, like fetchall_arrayref, the data will persist.
On the other hand, if you loop over the results using prepare, execute, fetch, you cannot close the connection, as this will drop your statement handle.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: sqlconnection question
by grashoper (Monk) on Aug 13, 2009 at 17:16 UTC | |
by busunsl (Vicar) on Aug 14, 2009 at 07:17 UTC | |
by mje (Curate) on Aug 13, 2009 at 19:32 UTC |
In Section
Seekers of Perl Wisdom