summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas König <a.koenig@mind.de>2002-11-25 11:21:08 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-11-26 20:42:25 +0000
commit349f3d340e4351d50609bd330b54a71d78093f84 (patch)
treee3dbe1776784d921b6239de01c7162a3808faf28
parentd9eb52f3084f721ff453fc4e4db0038bc60e4736 (diff)
downloadperl-349f3d340e4351d50609bd330b54a71d78093f84.tar.gz
2 Pod errors in perlop.pod
Message-ID: <m31y5admyj.fsf@k242.linux.bogus> Plus a few similar POD fixes p4raw-id: //depot/perl@18184
-rw-r--r--pod/perl570delta.pod2
-rw-r--r--pod/perl572delta.pod4
-rw-r--r--pod/perlop.pod4
-rw-r--r--pod/perltie.pod2
4 files changed, 6 insertions, 6 deletions
diff --git a/pod/perl570delta.pod b/pod/perl570delta.pod
index 3d4e5e29e4..70425efc3e 100644
--- a/pod/perl570delta.pod
+++ b/pod/perl570delta.pod
@@ -690,7 +690,7 @@ concurrently. (Still 16M per thread.)
=item *
-C<File::Spec->tmpdir()> now prefers C:/temp over /tmp
+C<< File::Spec->tmpdir() >> now prefers C:/temp over /tmp
(works better when perl is running as service).
=item *
diff --git a/pod/perl572delta.pod b/pod/perl572delta.pod
index e7d4ce37ed..fc5c392976 100644
--- a/pod/perl572delta.pod
+++ b/pod/perl572delta.pod
@@ -89,7 +89,7 @@ ugly, but the current implementation slows down normal array and hash
use quite noticeably. The C<fields> pragma interface will remain
available.
-The syntaxes C<@a->[...]> and C<@h->{...}> have now been deprecated.
+The syntaxes C<< @a->[...] >> and C<< @h->{...} >> have now been deprecated.
The suidperl is also considered to be too much a risk to continue
maintaining and the suidperl code is likely to be removed in a future
@@ -513,7 +513,7 @@ the entire regex. You will an optional warning if you try to do otherwise.
=item *
-Using arrays or hashes as references (e.g. C<%foo->{bar}> has been
+Using arrays or hashes as references (e.g. C<< %foo->{bar} >> has been
deprecated for a while. Now you will get an optional warning.
=back
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 9bce6c26cc..f286c60363 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -773,8 +773,8 @@ you may be burned some day.
For constructs that do interpolate, variables beginning with "C<$>"
or "C<@>" are interpolated. Subscripted variables such as C<$a[3]> or
-C<$href->{key}[0]> are also interpolated, as are array and hash slices.
-But method calls such as C<$obj->meth> are not.
+C<< $href->{key}[0] >> are also interpolated, as are array and hash slices.
+But method calls such as C<< $obj->meth >> are not.
Interpolating an array or slice interpolates the elements in order,
separated by the value of C<$">, so is equivalent to interpolating
diff --git a/pod/perltie.pod b/pod/perltie.pod
index 72288a08a2..05b79730c3 100644
--- a/pod/perltie.pod
+++ b/pod/perltie.pod
@@ -361,7 +361,7 @@ C<$self-E<gt>{ELEMSIZE}> spaces only, it does not exist:
Delete the element at index I<key> from the tied array I<this>.
-In our example, a deleted item is C<$self->{ELEMSIZE}> spaces:
+In our example, a deleted item is C<$self-E<gt>{ELEMSIZE}> spaces:
sub DELETE {
my $self = shift;