Hello, I'm posting here what I did at that time, maybe it becomes handy to someone..:
share $shash{$dthread}{'go'};
$shash{$dthread}{'go'} = 0;
share $shash{$dthread}{'data'}->{'first_key'};
$shash{$dthread}{'data'}->{'first_key'} = '';
share $shash{$dthread}{'data'}->{'second_key'};
$shash{$dthread}{'data'}->{'second_key'} = '';
share $shash{$dthread}{'data'}->{'third_key'};
$shash{$dthread}{'data'}->{'third_key'} = '';
share $shash{$dthread}{'pid'};
$shash{$dthread}{'pid'} = -1;
share $shash{$dthread}{'die'};
$shash{$dthread}{'die'} = 0;
In such case $shash{$dthread}{'data'} becomes a key-value hash.
Thank you!