Author: turnstep
Date: Mon Nov 23 10:02:18 2009
New Revision: 13583
Modified:
DBD-Pg/trunk/Pg.pm
DBD-Pg/trunk/t/lib/App/Info.pm
Log:
Apply POD fixes per bug 51856
Modified: DBD-Pg/trunk/Pg.pm
==============================================================================
--- DBD-Pg/trunk/Pg.pm (original)
+++ DBD-Pg/trunk/Pg.pm Mon Nov 23 10:02:18 2009
@@ -1841,7 +1841,7 @@
{AutoCommit => 0, RaiseError => 1});
The attribute hash can also contain a key named C<dbd_verbose>, which
-simply calls C<$dbh->trace('DBD')> after the handle is created. This attribute
+simply calls C<< $dbh->trace('DBD') >> after the handle is created. This attribute
is not recommended, as it is clearer to simply explicitly call C<trace> explicitly
in your script.
@@ -1888,7 +1888,7 @@
only other number commonly seen is 1 (CONNECTION_BAD). See the libpq documentation for the
complete list of return codes.
-In all other non-connect methods C<$h->err> returns the C<PQresultStatus> of the current
+In all other non-connect methods C<< $h->err >> returns the C<PQresultStatus> of the current
handle. This is a number used by libpq and is one of:
0 Empty query string
@@ -1915,8 +1915,8 @@
gets mapped to an empty string by DBI. A code of C<S8006> indicates a connection failure,
usually because the connection to the Postgres server has been lost.
-While this method can be called as either C<$sth->state> or C<$dbh->state>, it
-is usually clearer to always use C<$dbh->state>.
+While this method can be called as either C<< $sth->state >> or C<< $dbh->state >>, it
+is usually clearer to always use C<< $dbh->state >>.
The list of codes used by PostgreSQL can be found at:
L<http://www.postgresql.org/docs/current/static/errcodes-appendix.html>
@@ -1992,7 +1992,7 @@
necessarily be in a form suitable to passing directly to Postgres,
as server-side prepared statements are used extensively by DBD::Pg.
For maximum portability of output (but with a potential performance
-hit), use with C<$dbh->{pg_server_prepare} = 0>
+hit), use with C<< $dbh->{pg_server_prepare} = 0 >>.
=item DBD
@@ -2580,7 +2580,7 @@
meets these conditions, the primary key will be used. This involves some
looking up of things in the system table, so DBD::Pg will cache the sequence
name for subsequent calls. If you need to disable this caching for some reason,
-(such as the sequence name changing), you can control it by adding C<pg_cache => 0>
+(such as the sequence name changing), you can control it by adding C<< pg_cache => 0 >>
to the final (hashref) argument for last_insert_id.
Please keep in mind that this method is far from foolproof, so make your
Modified: DBD-Pg/trunk/t/lib/App/Info.pm
==============================================================================
--- DBD-Pg/trunk/t/lib/App/Info.pm (original)
+++ DBD-Pg/trunk/t/lib/App/Info.pm Mon Nov 23 10:02:18 2009
@@ -1184,7 +1184,7 @@
C<confirm()> or C<unknown()> the event will be handled as the client expects.
If we needed our subclass constructor to take its own parameter argumente, the
-approach is to specify the same C<key => $arg> syntax as is used by
+approach is to specify the same C<< key => $arg >> syntax as is used by
App::Info's C<new()> method. Say we wanted to allow clients of our App::Info
subclass to pass in a list of alternate executable locations for us to search.
Such an argument would most make sense as an array reference. So we specify
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.