%server_properties = %{$nodemetrics{server1}}
Otherwise
$h_server1 = $nodemetrics{server1}
(like already shown) is the same hashref, which can be safely changed
$h_server1->{cpu}=100 or alternatively $$h_server1{cpu}=100
see perlref and perldsc for details!
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re^5: Not sure how to populate a hash
by LanX
in thread Not sure how to populate a hash
by aditya1977
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |