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 <[email protected]> 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
