Skip Menu |

This queue is for tickets about the Text-Table CPAN distribution.

Report information
The Basics
Id: 68631
Status: resolved
Priority: 0/
Queue: Text-Table

People
Owner: Nobody in particular
Requestors: horst [...] radners.de
Cc:
AdminCc:

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



Subject: Text-Table 1.120 --> 1.121, output formatting damaged
Date: Fri, 03 Jun 2011 16:22:17 +0200
To: bug-Text-Table [...] rt.cpan.org
From: "Horst-W. Radners" <horst [...] radners.de>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear maintainer(s)! I'm running Perl 5.12.3 on 64bit Linux 2.6.36 (OpenSuse 11.3, x86_64-linux-thread-multi). Until Text::Table 1.120 a slightly enhanced version of your POD example (see attachment) gives this nice output: +---------+--------+---------+ | Planet | Radius | Density | | | km | g/cm^3 | +---------+--------+---------+ | Mercury | 2360 | 3.7 | | Venus | 6110 | 5.1 | | Earth | 6378 | 5.52 | | Jupiter | 71030 | 1.3 | +---------+--------+---------+ Unfortunately, after installing Text::Table 1.121, now the output from the same code looks like this: - ----------------------------------------- | Planet | Radius | Density | km g/cm^3 - ----------------------------------------- Mercury 2360 3.7 Venus 6110 5.1 Earth 6378 5.52 Jupiter 71030 1.3 - ----------------------------------------- Many thanks in advance for looking after this. Best regards, Horst -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk3o7hkACgkQQejbmWbMnMOi+wCeIcVAu9SliL7t7M3a28D1jidS HaoAoIpe1APsTH7YI+hPDjs3g/Fj3Rhu =4gIS -----END PGP SIGNATURE-----

Message body is not shown because sender requested not to inline it.

Download text_table_test.pl.sig
application/pgp-signature 72b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #68631] Text-Table 1.120 --> 1.121, output formatting damaged
Date: Fri, 03 Jun 2011 19:44:06 +0200
To: bug-Text-Table [...] rt.cpan.org
From: Anno Siegel <anno5 [...] mac.com>
You are quite right, passing column separators as hashes is broken in 1.121. Since I've given up maintainership of Text::Table to SHLOMIF, I'll leave it to him to release a fixed version. If you can (and want to) fix your local copy immediately, apply the patch below, which corrects a typo. Regards, Anno

Message body is not shown because sender requested not to inline it.

On 03.06.2011, at 16:22, Horst-W. Radners via RT wrote: Show quoted text
> Fri Jun 03 10:22:29 2011: Request 68631 was acted upon. > Transaction: Ticket created by horst@radners.de > Queue: Text-Table > Subject: Text-Table 1.120 --> 1.121, output formatting damaged > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: horst@radners.de > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=68631 > > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dear maintainer(s)! > > I'm running Perl 5.12.3 on 64bit Linux 2.6.36 (OpenSuse 11.3, > x86_64-linux-thread-multi). > > Until Text::Table 1.120 a slightly enhanced version of your POD example > (see attachment) > gives this nice output: > > +---------+--------+---------+ > | Planet | Radius | Density | > | | km | g/cm^3 | > +---------+--------+---------+ > | Mercury | 2360 | 3.7 | > | Venus | 6110 | 5.1 | > | Earth | 6378 | 5.52 | > | Jupiter | 71030 | 1.3 | > +---------+--------+---------+ > > > Unfortunately, after installing Text::Table 1.121, now the output from > the same code looks like this: > > - ----------------------------------------- > | Planet | Radius | Density | > km g/cm^3 > - ----------------------------------------- > Mercury 2360 3.7 > Venus 6110 5.1 > Earth 6378 5.52 > Jupiter 71030 1.3 > - ----------------------------------------- > > Many thanks in advance for looking after this. > > Best regards, Horst > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.16 (GNU/Linux) > > iEYEARECAAYFAk3o7hkACgkQQejbmWbMnMOi+wCeIcVAu9SliL7t7M3a28D1jidS > HaoAoIpe1APsTH7YI+hPDjs3g/Fj3Rhu > =4gIS > -----END PGP SIGNATURE----- > > <text_table_test.pl><text_table_test.pl.sig>
Thanks for reporting this and for pointing out the fix. The patched version with a testcase and with the fix has been uploaded to CPAN as Text-Table-1.122. Regards, -- Shlomi Fish