within a loop I retreive
- An array (its length and data might change at each iteration)
- 1 Data name
- 1 Data value
And I would like to create a hash of hash having as structure the array and set at the end the data retreived.
exemple if I have:
@array = ('a','b','c');
$dataname = 'my data';
$datavalue = '123';
I would like to have a hash as below:
%hash = (
a => {
b => {
c => {
'my data' => '123'
}
}
}
);
But i didn't find anywhere how to do it.
Data::Diver