Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: Peter [...] PSDT.com
Cc: jkeenan [...] cpan.org
AdminCc:

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



CC: jkeenan [...] cpan.org
Subject: [RT #118633] Output of perldoc -f tr is truncated
This bug was originally reported in the Perl 5 bug queue at https://rt.perl.org/rt3/Ticket/Display.html?id=118633. Because Pod-Perldoc is listed in Porting/Maintainers.pl as being primarily maintained on CPAN, I am moving the report into this queue. --jkeenan ########## % perldoc -f tr Quote and Quote-like Operators [...] tr/SEARCHLIST/REPLACEMENTLIST/cdsr % It should have kept going and displayed the documentation for tr|y. It stopped because it reached the =item line for y/// in this extract from perlop.pod: =item tr/SEARCHLIST/REPLACEMENTLIST/cdsr X<tr> X<y> X<transliterate> X</c> X</d> X</s> =item y/SEARCHLIST/REPLACEMENTLIST/cdsr Not sure what the best fix would be here. Summary of my perl5 (revision 5 version 19 subversion 2) configuration: Commit id: 0e05e560edc12120d297a77996d0dfa53a9858af Platform: osname=linux, osvers=2.6.27.41-170.2.117.fc10.i686, archname=i686-linux ########## Although this is similar to the bug in https://rt.cpan.org/Ticket/Display.html?id=86472, the patch submitted there does not appear to correct the problem herein reported. --jkeenan
On Thu Jun 27 20:34:13 2013, JKEENAN wrote: Show quoted text
> This bug was originally reported in the Perl 5 bug queue at > https://rt.perl.org/rt3/Ticket/Display.html?id=118633. Because Pod- > Perldoc is listed in Porting/Maintainers.pl as being primarily > maintained on CPAN, I am moving the report into this queue. --jkeenan > > ########## > % perldoc -f tr > Quote and Quote-like Operators > [...] > tr/SEARCHLIST/REPLACEMENTLIST/cdsr > % > > It should have kept going and displayed the documentation for tr|y. It > stopped because it reached the =item line for y/// in this extract > from > perlop.pod: > > =item tr/SEARCHLIST/REPLACEMENTLIST/cdsr > X<tr> X<y> X<transliterate> X</c> X</d> X</s> > > =item y/SEARCHLIST/REPLACEMENTLIST/cdsr > > Not sure what the best fix would be here. > > Summary of my perl5 (revision 5 version 19 subversion 2) > configuration: > Commit id: 0e05e560edc12120d297a77996d0dfa53a9858af > Platform: > osname=linux, osvers=2.6.27.41-170.2.117.fc10.i686, archname=i686- > linux > ########## > > Although this is similar to the bug in > https://rt.cpan.org/Ticket/Display.html?id=86472, the patch submitted > there does not appear to correct the problem herein reported. > --jkeenan
Thanks for the report. This will be fixed in a future release.
On Thu Jun 27 20:34:13 2013, JKEENAN wrote: Show quoted text
> Not sure what the best fix would be here.
I refactored the code in search_perlop as d8b23dc which appears to correct this problem. Needs more testing on perls that are older than 5.18 though.