develooper Front page | perl.perl5.changes | Postings from March 2019

[perl.git] branch blead updated. v5.29.8-121-g8dbb2d9565

March 18, 2019 16:28
[perl.git] branch blead updated. v5.29.8-121-g8dbb2d9565
Message ID:
In perl.git, the branch blead has been updated


- Log -----------------------------------------------------------------
commit 8dbb2d9565f118c5bb1b0fdd1438830bb0f0022b
Author: Dagfinn Ilmari Mannsåker <>
Date:   Mon Mar 18 15:47:26 2019 +0000

    perlvar: improve POD markup for $-[n] example
    Closing and re-opening the C<> arond the I<> leads to weird formatting
    in man/text mode.  Instead nest the I<> inside the C<>.


Summary of changes:
 pod/perlvar.pod | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index b42cbe2251..1f9c08ce36 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -1149,7 +1149,7 @@ This variable is read-only and dynamically-scoped.
 C<$-[0]> is the offset of the start of the last successful match.
-C<$-[>I<n>C<]> is the offset of the start of the substring matched by
+C<$-[I<n>]> is the offset of the start of the substring matched by
 I<n>-th subpattern, or undef if the subpattern did not match.
 Thus, after a match against C<$_>, C<$&> coincides with C<substr $_, $-[0],

Perl5 Master Repository Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About