- or download this
### test1.csv ###
1 aaa ignored_field
...
555 eee ignored_field
666 fff ignored_field
777 ggg ignored_field
- or download this
#!/usr/bin/perl
use v5.14;
...
for my $key (sort keys %data) {
say "$key\t$data{$key}";
}
- or download this
$ ./report.pl
Key f1 f2 f3
...
eee 0 0 555
fff 0 0 666
ggg 0 0 777