in reply to Strict, cant use string as hash ref

Instead of storing the name of a hash in a variable, use a nested hash:
use strict; my %hash; my $server="jwesvsf7"; my $timestamp = "123433"; my $attribute="CPU_USER"; my $key =$attribute."_".$server; $hash{$key}{key} = 'value';