in reply to Overwriting Hash / Array
G'day iRemix94,
I see you found out what the problem is.
"Any tip how to not overwrite the entries?"
Yes.
Change lines that look like this:
push @array, \%hash
To lines that look more like this:
push @array, {%hash}
Similarly, change '\@array' to '[@array]', where appropriate.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Overwriting Hash / Array
by iRemix94 (Sexton) on Jul 28, 2015 at 10:21 UTC | |
by poj (Abbot) on Jul 28, 2015 at 10:36 UTC | |
by iRemix94 (Sexton) on Jul 28, 2015 at 10:48 UTC | |
by poj (Abbot) on Jul 28, 2015 at 11:49 UTC | |
by iRemix94 (Sexton) on Jul 28, 2015 at 12:08 UTC | |
|