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

$gxmlConfigDoc is a reference, so you can't index it directly. Use something like (untested):
push @{$gxmlConfigDoc -> {item}} => { ... }; # Or push @{$$gxmlConfigDoc {item}} => { ... };

Abigail