Skip to content

Commit 554ced0

Browse files
committed
perlvar: Add link to remaining legal $# use
Fixes #21682
1 parent d85c3a2 commit 554ced0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pod/perlvar.pod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2626,7 +2626,8 @@ using it now triggers a compilation error: C<$# is no longer supported>.
26262626

26272627
This is not the sigil you use in front of an array name to get the
26282628
last index, like C<$#array>. That's still how you get the last index
2629-
of an array in Perl. The two have nothing to do with each other.
2629+
of an array in Perl. (See L<perlintro/Arrays>.)
2630+
The two have nothing to do with each other.
26302631

26312632
Deprecated in Perl 5.
26322633

0 commit comments

Comments
 (0)