Whenever you see anything strange with you code, your first debugging step should ALWAYS be to run with warnings enabled ('use warnings' or -w flag to Perl), assuming you aren't running with them turned on to begin with. Bonus if your code compiles cleanly with strict turned on too (as it should!). With warnings enabled, you would have seen this:
Reference found where even-sized list expected at script line n.
In reply to Re: Odd hash problem.
by Fastolfe
in thread Odd hash problem.
by onion2k
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |