You keep trying to push \%data. What is that supposed to accomplish?
I don't understand what you're trying to do here. A hash always consists of a key and a value. You at best have a value here, never mind the syntax.
Maybe you want to use a real array, @data instead of a hash?
I think in addition to your code, you should also show what data structure you want at the end.
In reply to Re^3: Push values into a hash
by Corion
in thread Push values into a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |