more useful options | |
PerlMonks |
Re: Array of hashes of values AND Arrays of Hashesby busunsl (Vicar) |
on Oct 11, 2002 at 12:33 UTC ( [id://204480]=note: print w/replies, xml ) | Need Help?? |
Something like: $array[1]->{Contact} contains the reference to an empty array. Since push requires a 'real' array as its first argument, you have to dereference the reference in $array[1]->{Contact}. You do this with @{...}.
In Section
Seekers of Perl Wisdom
|
|