in reply to Why is part of slice duplicated?
You are accidentally using symbolic references and do not have the structure you think you have --- using strict would have told you something was wrong right away. You can see a similar problem and discussion here.
In Section
Seekers of Perl Wisdom