I would retrieve my hash table when i pass it in argument at a function. In my case, function1 return my hash table, then i pass my hash table in argument to my function2 and in my function2 i would retrieve my hash table for browse it.
sub function1{
my code;
return %hash;
}
sub function2{
my %hash=$_[0];
my code browse my hash;
}
my %hash = function1();
function2(%hash);
I have the following error : Odd number of elements in hash assignment at