in reply to Re^2: Push values into a hash
in thread Push values into a hash
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Push values into a hash
by Anonymous Monk on Jul 25, 2016 at 16:05 UTC | |
by Corion (Patriarch) on Jul 25, 2016 at 16:11 UTC |