mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
83764e1daa
Change some URLs from author dirs to dist dirs. The example in the porter's handbook didn't have the trailing slash; mea culpa for not having caught that when it went in.
16 lines
775 B
Plaintext
16 lines
775 B
Plaintext
his module contains a function to return an iterator (see the Iterator
|
|
module) that returns the rows of a database query, one at a time.
|
|
|
|
This is marginally more useful than simply calling prepare and execute,
|
|
and then repeatedly calling fetchrow_hashref; since this one function
|
|
bundles up the calls to all three of those DBI methods.
|
|
|
|
But the real usefulness of this interface is that it can be chained
|
|
together with other Iterator functions. The "idb_rows" iterator has the
|
|
same interface as any other interface, making it interchangeable with
|
|
iterators of any other source (for example, files), and usable with the
|
|
iterator manipulation functions in the Iterator::Util module.
|
|
|
|
WWW: http://search.cpan.org/dist/Iterator-DBI/
|
|
Author: Eric J. Roode <roode@cpan.org>
|