in reply to Adding elements to hashes of arrays...

You were close on your first attempt
push @{ $gxmlConfigDoc->{item} }, { ... };
So you dereference the array in the hash ref (you were treating it as a hash) and push on an anonymous hash. See. perlreftut and tye's References quick reference for a good start on references in perl.
HTH

_________
broquaint

Replies are listed 'Best First'.
Re: Re: Adding elements to hashes of arrays...
by alincoln (Acolyte) on Oct 29, 2003 at 16:31 UTC
    bless you...the -> was the missing piece...

    thx again,

    adym