- or download this
while(my($key,$val) = each(%ret)) {
my @parts = split(/\./, $key);
my $id = '';
foreach my $add (@parts) {
- or download this
$id .= $add;
- or download this
if($id eq $key) {
next;
}
- or download this
if(!$ret{$id}{'count'}) {
$ret{$id}{'count'} = 0;
...
}
}
- or download this
while(my($key,$val) = each(%ret)) {
$id = $key;
...
## Though this doesn't do much?
$ret{$id}{'count'} += $ret{$key}{'count'};
}
- or download this
my @keys = sort keys %cats;
my $cnt = scalar @keys;
...
...
@keys = keys %ret;
$cnt = scalar @keys;
- or download this
my $cnt = keys %cat;
...
$cnt = keys %ids;
...
$cnt = keys %ret;