As it applies in this case, I suspect your version of Perl has a bug in its handling of @{@headers}, which is also buggy. Did you mean @headers? @{$headers}? @{@headers} definitely ain't right.
In reply to Re^2: Bizarre copy of ARRAY
by ikegami
in thread Bizarre copy of ARRAY
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |