On Wed, Aug 04, 2010 at 10:51:41PM +0200, H.Merijn Brand wrote:
> 
> My intention was/is to have a DBI replacement for DB_File, so the
> *only* thing I have to change to use it is
> 
>     tie my %hash, "DB_File", "file.db", O_RDWR|O_CREAT, 0666;
> 
> with
> 
>     tie my %hash, "Tie::DBD", $dbh;
> 
> And the rest of my code will still work. With the current
> implementation of Tie::DBI I would have to rewrite everything.

Also, from memory, Tie::DBI is painfully slow due in part to not using
prepared statements.

Tim.

Reply via email to