From: Andreas König Date: Mon, 25 Nov 2002 10:21:08 +0000 (+0100) Subject: 2 Pod errors in perlop.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ad0f383a28b730182ea06492027f82167ce7032b;p=p5sagit%2Fp5-mst-13.2.git 2 Pod errors in perlop.pod Message-ID: Plus a few similar POD fixes p4raw-id: //depot/perl@18184 --- diff --git a/pod/perl570delta.pod b/pod/perl570delta.pod index 3d4e5e2..70425ef 100644 --- a/pod/perl570delta.pod +++ b/pod/perl570delta.pod @@ -690,7 +690,7 @@ concurrently. (Still 16M per thread.) =item * -Ctmpdir()> 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 e7d4ce3..fc5c392 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 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 9bce6c2..f286c60 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 72288a0..05b7973 100644 --- a/pod/perltie.pod +++ b/pod/perltie.pod @@ -361,7 +361,7 @@ C<$self-E{ELEMSIZE}> spaces only, it does not exist: Delete the element at index I from the tied array I. -In our example, a deleted item is C<$self->{ELEMSIZE}> spaces: +In our example, a deleted item is C<$self-E{ELEMSIZE}> spaces: sub DELETE { my $self = shift;