in reply to Re^3: Assign (key, value) to a hash w/o clobbering hash
in thread Assign (key, value) to a hash w/o clobbering hash

davorg, I did mention I tried to do it with Tie::StdHash :). It's obviously the way to go if one was to choose this method. However, I still can't get a working example going, even using your example above. For me it gives an error when I try to tie the hash...
Can't locate object method "TIEHASH" via package ...
the line being
tie my %hash, 'ExpandingHash';
and I also tried
tie my %hash, 'Tie::Hash::ExpandingHash';

---
my name's not Keith, and I'm not reasonable.