From: Rob Kinyon Date: Tue, 5 Jan 2010 01:23:55 +0000 (-0500) Subject: Applied POD Patch by FWIE (RT #51888) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d451cf12a5aa6896b2dbb4d2847e964a8b9672ea;p=dbsrgits%2FDBM-Deep.git Applied POD Patch by FWIE (RT #51888) --- diff --git a/Changes b/Changes index 34b0a82..f7a4dd0 100644 --- a/Changes +++ b/Changes @@ -8,6 +8,7 @@ Revision history for DBM::Deep. - Added support for DBD::SQLite - Build.PL has been extended to support sqlite vs. mysql - Storage::DBI now detects between the two DBDs + - (RT #51888) Applied POD patch (Thanks, FWIE!) 1.0019_001 Dec 31 22:00:00 2009 EST (This is the first developer release for 1.0020.) diff --git a/lib/DBM/Deep.pod b/lib/DBM/Deep.pod index 6970168..8fcba6f 100644 --- a/lib/DBM/Deep.pod +++ b/lib/DBM/Deep.pod @@ -371,7 +371,7 @@ hash reference, not a lookup. Meaning, you should B do this: This causes an infinite loop, because for each iteration, Perl is calling FETCH() on the $db handle, resulting in a "new" hash for foo every time, so it effectively keeps returning the first key over and over again. Instead, -assign a temporary variable to C<$db->{foo}>, then pass that to each(). +assign a temporary variable to C<<$db->{foo}>>, then pass that to each(). =head2 Arrays