Hi,
I am trying to move a "Hash Array" as an element of an Array. I am doing this in a loop. Whenever I try to retrieve the values, I am able to get the last value of the array only.
Is there any special restrictions to do this???
I have tried with
(Loop)
{
$array[0] = \%hash;
}
%hash1 = %{$array[0]};
Also tried
push @array, \%hash;
Can this be done in anyother way???
Thanks for your help in advance.
Sincerely,
RCSEN.
I am trying to move a "Hash Array" as an element of an Array. I am doing this in a loop. Whenever I try to retrieve the values, I am able to get the last value of the array only.
Is there any special restrictions to do this???
I have tried with
(Loop)
{
$array[0] = \%hash;
}
%hash1 = %{$array[0]};
Also tried
push @array, \%hash;
Can this be done in anyother way???
Thanks for your help in advance.
Sincerely,
RCSEN.