If you want a SCALAR, take out the outermost {}, and use an assignment instead of my recommended =>.
You may want to remove the "push" statement from the code entirely, because with it, you are entering the same information twice, into @data.
I hope life isn't a big joke, because I don't get it.
-SNL
In reply to Re^3: Odd number of elements in anonymous hash!
by NetWallah
in thread Odd number of elements in anonymous hash!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |