%tmpF->{ID}=@tmpA; push(@$fieldobj,%tmpF);
I suppose you need array/hash references (note the \ operator):
$tmpF{ID} = \@tmpA; push(@$fieldobj, \%tmpF);
(Also, the %tmpF->{ID} should be $tmpF{ID})
In reply to Re: Arrays and Hashes woes
by almut
in thread Arrays and Hashes woes
by TienLung
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |