Re: Implemented idea, feedback needed/welcome

Tim Bunce <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.