OpusVL/perldoc.perl.org

__SUB__ documentation

Opened this issue · 2 comments

S

__SUB__
- the current subroutine, or C if not in a subroutine 

on page: https://perldoc.perl.org/5.30.0/index-functions.html#S
https://perldoc.perl.org/5.32.0/index-functions.html#S

Please change C to undef

The relevant part of perlfunc.pod says:

=for Pod::Functions +current_sub the current subroutine, or C<undef> if not in a subroutine

So this is a misparsing of the source. However, I think this line perhaps needs to say =for :Pod::Functions, so as to signal that the content is pod, not plain text -- as Pod::Functions itself may be misparsing this rather than the renderer being used on the site.

Pod::Functions intentionally returns POD. The site is misrendering this.