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'.
In reply to Re: Slicing a HoAoH
by edan
in thread Slicing a HoAoH
by Art_XIV
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |