perldoc fix for DBI.pm r12812
Fabian Keil <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase.devel |
|---|---|
| Message-ID | <[email protected]> |
The attached patch fixes a perldoc sentence in DBI.pm r12812. I'd also add a comma behind the '$sth2', but that's probably a matter of taste. Fabian
DBI.pm-1.609-grammar-fix.diff
(text/x-patch, 1.1 KB)
From 6755c03f282bdd9c0b9494e53ddb7bb4ef8444c4 Mon Sep 17 00:00:00 2001 From: Fabian Keil <[email protected]> Date: Sun, 21 Jun 2009 17:41:38 +0200 Subject: [PATCH] Fix a sentence by removing a duplicated 'the' and adding a 'that'. --- DBI.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git DBI.pm DBI.pm index 95b398f..f0bcf57 100644 --- DBI.pm +++ DBI.pm @@ -4392,8 +4392,8 @@ is a contrived case where caching would cause a significant problem: In this example, since both handles are preparing the exact same statement, C<$sth2> will not be its own statement handle, but a duplicate of C<$sth> returned from the cache. The results will certainly not be what you expect. -Typically the the inner fetch loop will work normally, fetching all -the records and terminating when there are no more, but now $sth +Typically the inner fetch loop will work normally, fetching all +the records and terminating when there are no more, but now that $sth is the same as $sth2 the outer fetch loop will also terminate. You'll know if you run into this problem because prepare_cached() -- 1.6.3.2
signature.asc
(application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAko+WyYACgkQSMVSH78upWOs5QCfeYjpBk32q4kRWY8ZyJrK9Qa9 VdkAn0Gg4v1Q8Vf0rdESo3jImwpmIHGM =DAMq -----END PGP SIGNATURE-----