Benhttp://cpanratings.perl.org/dist/Text-ASCIITable#12236
<p>Rating: 5 stars</p><p>After trying a couple other different Text Table modules, I stumbled upon this one, and it was exactly what I needed!</p>Ben2015-08-19T06:36:08Randy Staunerhttp://cpanratings.perl.org/dist/Text-ASCIITable#8600
<p>Rating: 4 stars</p><p>The module may be aging a bit,
<br>
but it was quite simple to use and was exactly what I needed.
<br>
I had a nice easy-to-read table in my terminal
<br>
with 3 lines of code (plus 1 for the require).
<br>
Thanks!</p>Randy Stauner2011-05-24T09:30:52Ilya Martynovhttp://cpanratings.perl.org/dist/Text-ASCIITable#4636
<p>Rating: 2 stars</p><p>The module could be very useful tool but it is almost unusable due to very bad performance. For example drawing a table which has 350 rows and 10 columns takes ~60 seconds on Intel(R) Xeon(R) 1.86GHz. I did a quick glance on code and my impression is that it has O(x^2) complexity where x is number of rows what obviously doesn't scale very well. It seems the author is aware of the problem as one of comments in the source code says &quot;This function must be totally rewritten one day, it is really slow, and ... dumb. ;)&quot;</p>Ilya Martynov2008-08-26T03:51:00david landgrenhttp://cpanratings.perl.org/dist/Text-ASCIITable#1738
<p>Rating: 4 stars</p><p>I had to produce a simple report with ASCII characters, you know, like
<br><br>+-----+-----+
<br><br>| foo | bar |
<br><br>+-----+-----+
<br><br>| 734 | agd | &lt;-- imagine this in a nice monospace font
<br><br>| 13 | pe |
<br><br>| 82 | fx |
<br><br>+-----+-----+
<br><br>And this module was just what I needed. It was easy enough to use, the documentation was quite straightforwad to understand, although I have a few minor niggles.
<br><br>It uses CamelCaseMethodNames, which I dislike. It would be nice to have aliased names to uncamel_case_method_names as a forward/backward compatibility shim.
<br><br>Another hassle is that you can't pass an arrayref of arrayrefs to the addRow() method. This is a pity, because it would admit the following code:
<br><br>$t-&gt;addRow( $db-&gt;selectall_arrayref( $sql_command ));
<br><br>The final hassle that I encountered is that it warns copiously about undefined values. In my particular SQL request some column values are undef, and it is normal. It would be nice to have a property to set to treat_undef_as_no_space or something. I had to write the above snippet as
<br><br>my $r = $db-&gt;selectall_arrayref( $sql_command );
<br><br>$t-&gt;addRow( map { defined($_) ? $_ : '' } @$_ ) for @$r;
<br><br>But that took me about 3 minutes flat, so it's not much of a problem, more something to be aware of.
<br><br>I'll write up these reports as bugs, and we'll see how the author responds.
<br><br>All in all a very useful module, and nice to have in your toolbox.</p>david landgren2005-09-22T03:56:13