in reply to How to put and read data type hash in a struct

Then after few hour of labor, i find a solution cause the problem has been bad asked.
In fact the first element must be introduce like that :
%{$test1->element()} = %aa ;

we could access to key of hash by using the following typo :
print $test1->element(aaaa)."\n";