3 |
|
|
4 |
#$out->{ 'years +' }->{ $rec->{PY}->[0] }++; |
#$out->{ 'years +' }->{ $rec->{PY}->[0] }++; |
5 |
|
|
6 |
#$out->{ 'DT +' }->{ $_ }++ foreach @{ $rec->{DT} }; |
$out->{ 'DT +' }->{ $_ }++ foreach @{ $rec->{DT} }; |
7 |
|
|
8 |
#$out->{'SC +'}->{ $_ }++ foreach @{ $rec->{SC} }; |
$out->{'SC +'}->{ $_ }++ foreach @{ $rec->{SC} }; |
9 |
|
|
10 |
# FIXME out of memory without Sack::Digest |
# FIXME out of memory without Sack::Digest |
11 |
#$out->{'C1 +'}->{ $_ }++ foreach @{ $rec->{C1} }; |
#$out->{'C1 +'}->{ $_ }++ foreach @{ $rec->{C1} }; |
12 |
#$out->{'C1#+'}->{ digest($_) }++ foreach @{ $rec->{C1} }; |
#$out->{'C1#+'}->{ $_ }++ foreach @{ $rec->{C1} }; |
13 |
|
|
14 |
|
|
15 |
$out->{'C1_country+'}->{ m{,\s?([^,]+)\.$} && ucfirst(lc($1)) }++ foreach @{ $rec->{C1} }; |
#$out->{'C1_country+'}->{ m{,\s?([^,]+)\.$} && ucfirst(lc($1)) }++ foreach @{ $rec->{C1} }; |
16 |
|
|
17 |
|
|
18 |
#$out->{'CR#+'}->{ digest($_) }++ foreach @{ $rec->{CR} }; |
#$out->{'CR#+'}->{ $_ }++ foreach @{ $rec->{CR} }; |
19 |
|
|
20 |
my $cr = 1; |
my $cr = 1; |
21 |
my $nr = $out->{_debug}->{nr}++; |
my $nr = $out->{_debug}->{nr}++; |
28 |
|
|
29 |
#push @{ $out->{_debug}->{id} }, $rec->{'000'}; |
#push @{ $out->{_debug}->{id} }, $rec->{'000'}; |
30 |
|
|
31 |
$out->{'_debug'}->{records}++; |
$out->{'_debug'}->{records}++ if $rec; |
32 |
$out->{'_debug'}->{start_t} ||= time; |
$out->{'_debug'}->{start_t} ||= time; |
33 |
$out->{'_debug'}->{duration} = time - $out->{'_debug'}->{start_t}; |
$out->{'_debug'}->{duration} = time - $out->{'_debug'}->{start_t}; |