Isn't that correct? Or do you want it to copy the hash instead of the hashref? If you think about it $VAR1->{'TYPE2'}[0], IS the same hashreference as in TYPE2. The way data::Dumper displays it can be odd at times, especialy the first time you see it. If none of this is clear then it would help to see what you expected that to output.
In reply to Re: Slicing a HoAoH
by eric256
in thread Slicing a HoAoH
by Art_XIV
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |