Instead of
sayif (defined $hash{$country}){ $hash_2{$country}=$fox_hour; } else{ $hash{$country}=$fox_hour; }
push @{ $hash{$country} }, $fox_hour;
In reply to Re: add values with hash
by Narveson
in thread add values with hash
by steph_bow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |