[CDBI] Close CDBI DB connection?

Steven Mackenzie steven.mackenzie at aptile.co.uk
Thu Sep 29 14:35:19 BST 2005


Hello,

I am using a SQLite DB in a temporary file, which I would like my client
application to optionally delete before exit.

Unfortunately calls to unlink are ineffective ($! is "Permission Denied"
on Windows), I think becase the CDBI code still has an open db
"connection" to the file.

Is there a (nice or nasty) way to ask CDBI to disconnect when I'm
finished using the database?

Steven




More information about the ClassDBI mailing list