I suspect that this is not the balance of your bugs, but if you follow the steps in Basic debugging checklist and use Data::Dumper judiciously, you should be able to get this resolved.
In reply to Re^6: array references
by kennethk
in thread array references
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |