- or download this
my $result = {
'A' => {
...
},
...
};
- or download this
open my $fh, '<', $filename;
...
$result->{$id}{$number} = 1;
}
}
- or download this
my %unique_numbers = ();
for (values %$result) {
...
my $string = join " ", @fields;
print $out_fh "$string\n";
}