Re: [perl #129862] [BUG][POD] Pod::To::Text failing on uneven row lengths

2016-10-14 Thread Tom Browder
On Thu, Oct 13, 2016 at 8:32 PM, Zoffix Znet via RT
 wrote:
>
> PR merged[^1]; tests needed.
>
> [1] 
> https://github.com/rakudo/rakudo/commit/7af9ec9d90d4ec8e9732e979729df85a80f7ec11

See perl/roast PR 168.


[perl #129862] [BUG][POD] Pod::To::Text failing on uneven row lengths

2016-10-13 Thread Zoffix Znet via RT
PR merged[^1]; tests needed.

[1] 
https://github.com/rakudo/rakudo/commit/7af9ec9d90d4ec8e9732e979729df85a80f7ec11


On Wed Oct 12 13:50:31 2016, david.warring wrote:
> I got this error from a typo in a large table. Needed to do a little
> work to find the problematic row.
> 
> Have raised Rakudo PR#903 which hopefully addressees this
> 
> On Wed Oct 12 13:34:45 2016, tbrowder wrote:
> > On Wed, Oct 12, 2016 at 3:22 PM, David Warring  > follo...@perl.org>
> > wrote:
> > > # New Ticket Created by  David Warring
> > > # Please include the string:  [perl #129862]
> > > # in the subject line of all future correspondence about this
> > > issue.
> > > # https://rt.perl.org/Ticket/Display.html?id=129862 >
> > >
> > >
> > > Consider pod.pl:
> > >
> > > =begin pod
> > >
> > > =begin table
> > > a | b | c
> > > l | m | n
> > > x | y
> > > =end table
> >
> > With the current state of rakudo
> > ​ pod
> > , ill-formed tables are problematic.  Try redoing the table like this
> > (adding the separator for the missing column, making the column
> > spacing the
> > same, lining up the column separators):
> >
> > =begin table
> > a | b | c
> > l | m | n
> > x | y |
> > =end table
> >
> > ​It still might not work with the empty cell.





Re: [perl #129862] [BUG][POD] Pod::To::Text failing on uneven row lengths

2016-10-12 Thread Tom Browder
On Wed, Oct 12, 2016 at 3:22 PM, David Warring 
wrote:
> # New Ticket Created by  David Warring
> # Please include the string:  [perl #129862]
> # in the subject line of all future correspondence about this issue.
> # https://rt.perl.org/Ticket/Display.html?id=129862 >
>
>
> Consider pod.pl:
>
> =begin pod
>
> =begin table
> a | b | c
> l | m | n
> x | y
> =end table

With the current state of rakudo
​ pod​
, ill-formed tables are problematic.  Try redoing the table like this
(adding the separator for the missing column, making the column spacing the
same, lining up the column separators):

=begin table
a | b | c
l | m | n
x | y |
​  ​
=end table

​It still might not work with the empty cell.
​


[perl #129862] [BUG][POD] Pod::To::Text failing on uneven row lengths

2016-10-12 Thread via RT
# New Ticket Created by  David Warring 
# Please include the string:  [perl #129862]
# in the subject line of all future correspondence about this issue. 
# https://rt.perl.org/Ticket/Display.html?id=129862 >


Consider pod.pl:

=begin pod

=begin table
a | b | c
l | m | n
x | y
=end table

=end pod

% perl6  --doc /tmp/pod.pl

Method 'chars' not found for invocant of class 'Any'
  in block  at 
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 71
  in sub table2text at
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 70
  in sub pod2text at
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 23
  in block  at 
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 27
  in sub pod2text at
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 18
  in sub named2text at
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 52
  in sub pod2text at
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 21
  in block  at 
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 27
  in sub pod2text at
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 18
  in method render at
/home/david/git/rakudo-stable/install/share/perl6/sources/5DD1D8B49C838828E13504545C427D3D157E56EC
(Pod::To::Text) line 3