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

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

From:
=?UTF-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?=
Date:
March 18, 2019 16:28
Subject:
[perl.git] branch blead updated. v5.29.8-121-g8dbb2d9565
Message ID:
E1h5v7f-0004Vf-QK@git.dc.perl.space
In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/8dbb2d9565f118c5bb1b0fdd1438830bb0f0022b?hp=0275405c4fd00a8e74de313c3fd5a82c0a1ecbea>

- Log -----------------------------------------------------------------
commit 8dbb2d9565f118c5bb1b0fdd1438830bb0f0022b
Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
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.
 X<@-> X<@LAST_MATCH_START>
 
 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



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About