This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
2 Pod errors in perlop.pod
authorAndreas König <a.koenig@mind.de>
Mon, 25 Nov 2002 10:21:08 +0000 (11:21 +0100)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 26 Nov 2002 20:42:25 +0000 (20:42 +0000)
Message-ID: <m31y5admyj.fsf@k242.linux.bogus>

Plus a few similar POD fixes

p4raw-id: //depot/perl@18184

pod/perl570delta.pod
pod/perl572delta.pod
pod/perlop.pod
pod/perltie.pod

index 3d4e5e2..70425ef 100644 (file)
@@ -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 *
index e7d4ce3..fc5c392 100644 (file)
@@ -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
index 9bce6c2..f286c60 100644 (file)
@@ -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
index 72288a0..05b7973 100644 (file)
@@ -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;