Name : perl-Text-Table-Sprintf
| |
Version : 0.008
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2024-02-24 07:16:30
|
Group : Unspecified
| Source RPM : perl-Text-Table-Sprintf-0.008-lp155.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : Generate simple text tables from 2D arrays using sprintf()
|
Description :
This module provides a single function, \'table\', which formats a two-dimensional array of data as a simple text table.
The example shown in the SYNOPSIS generates the following table:
+-------+----------+----------+ | Name | Rank | Serial | +-------+----------+----------+ | alice | pvt | 123456 | | bob | cpl | 98765321 | | carol | brig gen | 8745 | +-------+----------+----------+
This module models its interface on Text::Table::Tiny 0.03, employs the same technique of using \'sprintf()\', but takes the technique further by using a single large format and \'sprintf\' the whole table. This results in even more performance gain (see benchmark result or benchmark using Acme::CPANModules::TextTable).
Caveats: make sure each row contains the same number of elements. Otherwise, the table will not be correctly formatted (cells might move to another row/column).
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.5/noarch |