| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Acme::CPANModules::TableData; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
392975
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
45
|
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
69
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
697
|
use Acme::CPANModulesUtil::Misc; |
|
|
1
|
|
|
|
|
600
|
|
|
|
1
|
|
|
|
|
169
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
|
9
|
|
|
|
|
|
|
our $DATE = '2024-01-22'; # DATE |
|
10
|
|
|
|
|
|
|
our $DIST = 'Acme-CPANModules-TableData'; # DIST |
|
11
|
|
|
|
|
|
|
our $VERSION = '0.002'; # VERSION |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my $text = <<'MARKDOWN'; |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
is a way to package 2-dimensional table data as a Perl/CPAN |
|
16
|
|
|
|
|
|
|
module. It also provides a standard interface to access the data, including |
|
17
|
|
|
|
|
|
|
iterating the data rows, getting the column names, and so on. |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
**The tables** |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
All Perl modules under `TableData::*` namespace are modules that contain table |
|
23
|
|
|
|
|
|
|
data. Examples include: `TableData::Sample::DeNiro`, |
|
24
|
|
|
|
|
|
|
`TableData::Perl::CPAN::Release::Static`, |
|
25
|
|
|
|
|
|
|
`TableData::Perl::CPAN::Release::Dynamic`. |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
**CLIs** |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
(from ) offers commands to manipulate table data. In |
|
31
|
|
|
|
|
|
|
addition to a `TableData::*` module, you can also feed it CSV, TSV, JSON, YAML |
|
32
|
|
|
|
|
|
|
files. The commands include: head, tail, sort, sum, avg, select rows, wc (count |
|
33
|
|
|
|
|
|
|
rows), grep, map, etc. |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
(from ) is the official CLI for `TableData`. |
|
36
|
|
|
|
|
|
|
Currently it offers less commands than `td`, but it can also list `TableData::*` |
|
37
|
|
|
|
|
|
|
modules in local installation or CPAN. |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
(from ) allows you to query `TableData::*` modules (as |
|
40
|
|
|
|
|
|
|
well as CSV/TSV/JSON/YAML files) using SQL. |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
**Sah schemas** |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
**Tie** |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
**Miscelaneous** |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
accepts TableData module. |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
MARKDOWN |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
our $LIST = { |
|
60
|
|
|
|
|
|
|
summary => 'List of modules related to TableData', |
|
61
|
|
|
|
|
|
|
description => $text, |
|
62
|
|
|
|
|
|
|
tags => ['task'], |
|
63
|
|
|
|
|
|
|
}; |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Acme::CPANModulesUtil::Misc::populate_entries_from_module_links_in_description; |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
1; |
|
68
|
|
|
|
|
|
|
# ABSTRACT: List of modules related to TableData |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
__END__ |