DBIx-FetchLoop
view release on metacpan or search on metacpan
README.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DBIx::FetchLoop - Fetch with change detection and aggregates</title>
<link rev="made" href="mailto:root@localhost" />
</head>
<body style="background-color: white">
<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->
<ul>
<li><a href="#name">NAME</a></li>
<li><a href="#synopsis">SYNOPSIS</a></li>
<li><a href="#description">DESCRIPTION</a></li>
<li><a href="#methods">METHODS</a></li>
<ul>
<li><a href="#instantiating_a_dbix__fetchloop_object_">Instantiating a DBIx::FetchLoop object:</a></li>
<li><a href="#retrieving_data_with_fetch_current_data_">Retrieving data with fetch_current_data:</a></li>
<li><a href="#retrieving_data_with_fetch_current_row_">Retrieving data with fetch_current_row:</a></li>
<li><a href="#accessor_methods_">Accessor methods:</a></li>
<li><a href="#conditional_testing_">Conditional testing:</a></li>
<li><a href="#data_utilities_">Data Utilities:</a></li>
</ul>
<li><a href="#examples">EXAMPLES</a></li>
<ul>
<li><a href="#example_1__fetchrow_hashref__">Example 1 (fetchrow_hashref):</a></li>
<li><a href="#example_2__fetchrow_arrayref__">Example 2 (fetchrow_arrayref):</a></li>
<li><a href="#example_3__concatenation__fetchrow_hashref_and_substring_comparison_">Example 3 (concatenation, fetchrow_hashref and substring comparison)</a></li>
</ul>
<li><a href="#changes">CHANGES</a></li>
<li><a href="#todo">TO-DO</a></li>
<li><a href="#acknowledgements">ACKNOWLEDGEMENTS</a></li>
<li><a href="#author">AUTHOR</a></li>
<li><a href="#copyright">COPYRIGHT</a></li>
</ul>
<!-- INDEX END -->
<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>DBIx::FetchLoop - Fetch with change detection and aggregates</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<pre>
use DBIx::FetchLoop;</pre>
<pre>
$lph = DBIx::FetchLoop->new($sth, $dbi_method);</pre>
<pre>
$hash_ref = $lph->fetch_current_data;
$rowset = $hash_ref->{previous};
$rowset = $hash_ref->{current};
( run in 0.813 second using v1.01-cache-2.11-cpan-7e98afdb40f )