in reply to Re^5: Counting Problem
in thread Counting Problem
Many thanks for all your guidance.
One last question. When you are composing your data structure, I noticed that you are pushing 3 values (i.e.push @{ $grades{$_->{GRADE}}{$_->{POSITION}} }, $_->{NAME} for @$RECORD).
How would I go about adding additional values into the @$grades hash such as $_{SECTION},$_{AGE} etc so that they are outputted as follows: GRADE, POSITION, NAME, SECTION, AGE etc.?
I can't figure out how to add additional hash keys.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Counting Problem
by roboticus (Chancellor) on Sep 12, 2014 at 17:11 UTC |