Name : perl-Text-CSV-Flatten
| |
Version : 0.04
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.4.1
| Date : 2024-07-03 19:12:30
|
Group : Development/Libraries/Perl
| Source RPM : perl-Text-CSV-Flatten-0.04-lp156.4.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Perl extension for transforming hierarchical data (nested
|
Description :
This module transforms hierarchical data (nested arrays/hashes) to comma-separated value (csv) output according to a compact, readable, user-specified pattern.
For example, the pattern \'.< index>.*\' transforms a data structure of the form
[{ a => 1, b => 2 }, { a => 3, b => 4 }]
to the CSV output
a,b,index 1,2,0 3,4,1
The pattern \'.*.*\' applied to the same data gives the output
0_a,0_b,1_a,1_b 1,2,3,4
The pattern \'.*.< key>\' gives the output
0,1,key 1,3,a 2,4,b
It is hoped that the pattern specification is sufficiently powerful for this module to replace a lot of simple boiler-plate data transformations.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch |