Alexander Foken wrote:
Tim Bunce wrote:
Still got the finish() habit? Let it go!
I often see people posting snippets of example DBI code that call
finish() after a fetch loop. You don't need to do that.
Good to know, escpecially since most example code I've seen has the
call to finish().
To quote the fine manual:
"So you should _not_ normally need to call it explicitly _except_
when
you know that you've not fetched all the data from a statement
handle."
http://search.cpan.org/~timb/DBI-1.611/DBI.pm#finish
And it's there since at least 2005. I would have bet it wasn't there.
Much older than that I would say of 98 vintage ;)
So, there is another piece of cargo cult that I have to get rid off.
Alexander