Skip to content

Commit

Permalink
perl5db.pl: it fiddles ith %sub, not @sub
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Jul 4, 2024
1 parent 7ea9cde commit 07523af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/perl5db.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8847,7 +8847,7 @@ =head2 C<find_sub>
A utility routine used in various places; finds the file where a subroutine
was defined, and returns that filename and a line-number range.
Tries to use C<@sub> first; if it can't find it there, it tries building a
Tries to use C<%sub> first; if it can't find it there, it tries building a
reference to the subroutine and uses C<CvGV_name_or_bust> to locate it,
loading it into C<@sub> as a side effect (XXX I think). If it can't find it
this way, it brute-force searches C<%sub>, checking for identical references.
Expand Down

0 comments on commit 07523af

Please sign in to comment.