Skip Menu |

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

Report information
The Basics
Id: 86795
Status: resolved
Priority: 0/
Queue: Pod-Perldoc

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

Bug Information
Severity: (no value)
Broken in:
  • 3.19
  • 3.20
Fixed in: (no value)



Subject: "perldoc -f size" actually display a section in that are missing in "sprintf"
This might be more or less related to #86506 Comparing the output of `perldoc -f sprint` and `perldoc perlfunc`, 2 sections "size" and "order of arguments" are missing. In fact they are available with command: perldoc -f size perldoc -f 'order of arguments' For a moment I do thought 'size' is a new built-in function and realized this is a bug in perldoc program. ----
On Tue Jul 09 02:33:07 2013, GUGOD wrote: Show quoted text
> This might be more or less related to #86506 > > Comparing the output of `perldoc -f sprint` and `perldoc perlfunc`, 2 > sections "size" and "order of arguments" are missing. > > In fact they are available with command: > > perldoc -f size > perldoc -f 'order of arguments' > > For a moment I do thought 'size' is a new built-in function and > realized this is a bug in perldoc program.
Thanks for the report. There have been a number of functions that seem to be broken in the docs for 5.18; it looks like that's due to changes in the doc formatting but there could also be bugs in perldoc too. I will investigate this further.
On Tue Jul 09 02:33:07 2013, GUGOD wrote: Show quoted text
> This might be more or less related to #86506 > > Comparing the output of `perldoc -f sprint` and `perldoc perlfunc`, 2 > sections "size" and "order of arguments" are missing. > > In fact they are available with command: > > perldoc -f size > perldoc -f 'order of arguments' > > For a moment I do thought 'size' is a new built-in function and > realized this is a bug in perldoc program. > > ----
I committed a fix for this as 1c6f7e32 earlier tonight so sprintf does correctly render now, but perldoc still matches on "size" when it ought not to.
On Tue Jul 09 02:33:07 2013, GUGOD wrote: Show quoted text
> This might be more or less related to #86506
It was related but a bit subtle. Perldoc now tracks list entries/exits in any context not just in a snippet of found POD. Committed as dfefb22. Thanks for the report.