Acme-CPANModules-TextTable

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Text::Table::Sprintf" : "0.006",
            "Text::Table::Tiny" : "0",
            "Text::Table::TinyBorderStyle" : "0",
            "Text::Table::TinyColor" : "0",
            "Text::Table::TinyColorWide" : "0",
            "Text::Table::TinyWide" : "0",
            "Text::TabularDisplay" : "0",
            "Text::UnicodeBox::Table" : "0",
            "perl" : "5.010001",
            "strict" : "0",
            "utf8" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "requires" : {
            "Bencher::Backend" : "1.063",
            "File::Spec" : "0",
            "IO::Handle" : "0",
            "IPC::Open3" : "0",
            "Test::More" : "0"

META.yml  view on Meta::CPAN

  Text::Table::Sprintf: '0.006'
  Text::Table::Tiny: '0'
  Text::Table::TinyBorderStyle: '0'
  Text::Table::TinyColor: '0'
  Text::Table::TinyColorWide: '0'
  Text::Table::TinyWide: '0'
  Text::TabularDisplay: '0'
  Text::UnicodeBox::Table: '0'
  perl: '5.010001'
  strict: '0'
  utf8: '0'
  warnings: '0'
resources:
  bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-TextTable
  homepage: https://metacpan.org/release/Acme-CPANModules-TextTable
  repository: git://github.com/perlancar/perl-Acme-CPANModules-TextTable.git
version: '0.016'
x_Dist_Zilla:
  perl:
    version: '5.038000'
  plugins:

Makefile.PL  view on Meta::CPAN

    "Text::Table::Org" => "0.031",
    "Text::Table::Sprintf" => "0.006",
    "Text::Table::Tiny" => 0,
    "Text::Table::TinyBorderStyle" => 0,
    "Text::Table::TinyColor" => 0,
    "Text::Table::TinyColorWide" => 0,
    "Text::Table::TinyWide" => 0,
    "Text::TabularDisplay" => 0,
    "Text::UnicodeBox::Table" => 0,
    "strict" => 0,
    "utf8" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "Bencher::Backend" => "1.063",
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Test::More" => 0
  },
  "VERSION" => "0.016",

Makefile.PL  view on Meta::CPAN

  "Text::Table::Org" => "0.031",
  "Text::Table::Sprintf" => "0.006",
  "Text::Table::Tiny" => 0,
  "Text::Table::TinyBorderStyle" => 0,
  "Text::Table::TinyColor" => 0,
  "Text::Table::TinyColorWide" => 0,
  "Text::Table::TinyWide" => 0,
  "Text::TabularDisplay" => 0,
  "Text::UnicodeBox::Table" => 0,
  "strict" => 0,
  "utf8" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

dist.ini  view on Meta::CPAN

; make sure we put this after PodWeaver to avoid getting mangled location
[InsertDistImage]
hosting=data

[Prereqs / TestRequires]
;Test::More=0.98

[Prereqs]
perl=5.010001
strict=0
utf8=0
warnings=0
;!lint_prereqs assume-used "force version"
Text::Table::CSV=0.022

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

package Acme::CPANModules::TextTable;

use 5.010001;
use strict;
use warnings;
use utf8;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2023-10-31'; # DATE
our $DIST = 'Acme-CPANModules-TextTable'; # DIST
our $VERSION = '0.016'; # VERSION

sub _make_table {
    my ($cols, $rows, $celltext) = @_;
    my $res = [];
    push @$res, [];

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN


In early 2021, I needed colspan/rowspan and I implemented this in a new module:
<pm:Text::Table::Span> (later renamed to <pm:Text::Table::More>). I plan to add
this feature too to Text::ANSITable, but in the meantime I'm also adding more
formatting options which I need to Text::Table::More.

_
            bench_code => sub {
                my ($table) = @_;
                my $t = Text::ANSITable->new(
                    use_utf8 => 0,
                    use_box_chars => 0,
                    use_color =>  0,
                    columns => $table->[0],
                    border_style => 'ASCII::SingleLine',
                );
                $t->add_row($table->[$_]) for 1..@$table-1;
                $t->draw;
            },
            features => {
                align_cell => 1,

lib/Acme/CPANModules_ScenarioR/TextTable.pm  view on Meta::CPAN

## no critic
package Acme::CPANModules_ScenarioR::TextTable;

our $VERSION = 0.016; # VERSION

our $results = do{my$var=[[200,"OK",[{_name=>"participant=Text::UnicodeBox::Table",_succinct_name=>"Text::UnicodeBox::Table",errors=>0.0024,participant=>"Text::UnicodeBox::Table",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>365.666666666667,rate=>...

1;
# ABSTRACT: List of modules that generate text tables

=head1 DESCRIPTION

This module is automatically generated by Pod::Weaver::Plugin::Bencher::Scenario during distribution build.

A Acme::CPANModules_ScenarioR::* module contains the raw result of sample benchmark and might be useful for some stuffs later.



( run in 0.527 second using v1.01-cache-2.11-cpan-49f99fa48dc )