Commit bce64834 authored by Gervase Markham's avatar Gervase Markham Committed by Gervase Markham

Bug 962571 - Fix syntax highlighting of code blocks. r=LpSolit, a=justdave.

parent 10cc520e
.. highlight:: perl
.. _customization:
......
.. highlight:: console
.. _install-perlmodules-manual:
......@@ -17,12 +17,12 @@ apply this magic incantation, as root:
::
bash# tar -xzvf <module>.tar.gz
bash# cd <module>
bash# perl Makefile.PL
bash# make
bash# make test
bash# make install
# tar -xzvf <module>.tar.gz
# cd <module>
# perl Makefile.PL
# make
# make test
# make install
.. note:: In order to compile source code under Windows you will need to obtain
a 'make' utility. The :command:`nmake` utility provided with
......
.. highlight:: console
.. _troubleshooting:
......@@ -55,7 +55,7 @@ Bugzilla.
::
bash$ ./testserver.pl http://landfill.bugzilla.org/bugzilla-tip
$ ./testserver.pl http://landfill.bugzilla.org/bugzilla-tip
TEST-OK Webserver is running under group id in $webservergroup.
TEST-OK Got ant picture.
TEST-OK Webserver is executing CGIs.
......@@ -97,23 +97,27 @@ To fix this, go to
:file:`<path-to-perl>/lib/DBD/sponge.pm`
in your Perl installation and replace
::
.. code-block:: perl
my $numFields;
if ($attribs->{'NUM_OF_FIELDS'}) {
$numFields = $attribs->{'NUM_OF_FIELDS'};
} elsif ($attribs->{'NAME'}) {
}
elsif ($attribs->{'NAME'}) {
$numFields = @{$attribs->{NAME}};
}
with
::
.. code-block:: perl
my $numFields;
if ($attribs->{'NUM_OF_FIELDS'}) {
$numFields = $attribs->{'NUM_OF_FIELDS'};
} elsif ($attribs->{'NAMES'}) {
}
elsif ($attribs->{'NAMES'}) {
$numFields = @{$attribs->{NAMES}};
}
(note the S added to NAME.)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment