develooper Front page | perl.perl5.porters | Postings from July 2013

Re: [perl #118633] Output of perldoc -f tr is truncated

Thread Previous
Peter Scott
July 1, 2013 01:53
Re: [perl #118633] Output of perldoc -f tr is truncated
Message ID:
On Thu, 27 Jun 2013 17:38:03 -0700, James E Keenan via RT wrote:
> On Tue Jun 25 07:20:21 2013, wrote:
>> 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>
> 1. Bug confirmed.
> 2. I suspect it's a problem with 'perldoc -f' -- but *not* the problem
> which underlies RT #118615.  (The patch that Shlomi submitted for
> 118615, which works for me, does not work for me for this problem.)
> 3. As was the case with #118615, since Pod-Perldoc is primarily
> maintained on CPAN, I am going to close this ticket here and open up a
> ticket at See:

I demur.  It seems at least as likely to me that the fix lies in 
rewriting perlop.pod, which is why I tagged it for core documentation.  
For instance, if the order of the source lines in perlop.pod were changed 



X<tr> X<y> X<transliterate> X</c> X</d> X</s>

then perldoc -f tr and perldoc -f y both produce what appears to be the 
expected output.  

Peter Scott

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About