in reply to Slicing a HoAoH

Your code is working fine. Perhaps what is throwing you off is the funny-looking output of Data::Dumper. The reason why you're getting those values in there is because you're working with references: the values that you spliced in there are hash-references that are found elsewhere in your structure. Data::Dumper is smart enough to know that, and just dumps it out 'self-referentially'.

--
edan (formerly known as 3dan)