Skip to content

Commit 097911a

Browse files
committed
perl5db.pl: it fiddles with %sub, not @sub
1 parent b786e5e commit 097911a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/perl5db.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8847,9 +8847,9 @@ =head2 C<find_sub>
88478847
A utility routine used in various places; finds the file where a subroutine
88488848
was defined, and returns that filename and a line-number range.
88498849
8850-
Tries to use C<@sub> first; if it can't find it there, it tries building a
8850+
Tries to use C<%sub> first; if it can't find it there, it tries building a
88518851
reference to the subroutine and uses C<CvGV_name_or_bust> to locate it,
8852-
loading it into C<@sub> as a side effect (XXX I think). If it can't find it
8852+
loading it into C<%sub> as a side effect (XXX I think). If it can't find it
88538853
this way, it brute-force searches C<%sub>, checking for identical references.
88548854
88558855
=cut

0 commit comments

Comments
 (0)