Skip Menu |

This queue is for tickets about the Pod-Perldoc CPAN distribution.

Report information
The Basics
Id: 126015
Status: open
Priority: 0/
Queue: Pod-Perldoc

People
Owner: Nobody in particular
Requestors: CHOROBA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Perldoc -f stopped working for operators
perldoc -f == says No documentation for perl function '==' found but it used to show the Equality Operators part of perlop. For details, see https://www.perlmonks.org/?node_id=1219757
Dne Út 07.srp.2018 12:07:54, CHOROBA napsal(a): Show quoted text
> perldoc -f == says > > No documentation for perl function '==' found > > but it used to show the Equality Operators part of perlop. For > details, see https://www.perlmonks.org/?node_id=1219757
This is triggered by (first included in 3.22_01): commit d8b23dcb1a7fd6cbd0f97e980c72ef2b75b76141 (HEAD, refs/bisect/bad) Author: Mark Allen <mrallen1@yahoo.com> Date: Tue Jan 14 00:09:36 2014 -0600 Refactor search_perlop RT#86506 Couldn't figure out how the old code was supposed to work against 5.18 so I refactored it. It seems to work for the common "function-like" operators such as q, qq, qx, qr, tr, m, y The very same commit also breaks "perldoc -f '<>'" that now breaks POD syntax (printed at the end of the formatter output): ESC[1mPOD ERRORSESC[0m Hey! ESC[1mThe above document had some coding errors, which are explained below:ESC[0m Around line 259: You forgot a '=back' before '=head2' Around line 482: =back without =over as well as does not stop output before next unrelated section: definedness of the expression's value, not for its regular truth value. SHOULD STOP HERE→ ESC[1mConstant FoldingESC[0m Like C, Perl does a certain amount of expression evaluation at compile time whenever it determines that all arguments to an operator are static
Dne Út 07.srp.2018 12:07:54, CHOROBA napsal(a): Show quoted text
> perldoc -f == says > > No documentation for perl function '==' found > > but it used to show the Equality Operators part of perlop. For > details, see https://www.perlmonks.org/?node_id=1219757
A fix is available at <https://github.com/mrallen1/Pod-Perldoc/pull/43>.