my $hashIPs = {}; $hashIPs->{$ip} = { totalVulns => $ipTotalVulns, vulns => $vulns }; + $hashIPs->{$ip}->{'region'} = $region;
hth,
PooLpi
Update:
Or without references : my %hashIPs; $hashIPs{$ip} = { totalVulns => $ipTotalVulns, vulns => $vulns }; $hashIPs{$ip}{'region'} = $region;
In reply to Re: Mystery (to me) Data Structure
by poolpi
in thread Mystery (to me) Data Structure
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |