R
raymond
Hi, I'm going out of my mind trying to figure this problem out. To save it,
I figured I'd ask for some help
I'm trying to create a hash with name/answer pairs.
I retrieve a person's userid ($name) and their response ($answer) to a
multiple choice question in a poll.
I'm trying to store these into a simple hash:
$responses{ $name } = $answer;
I haven't used perl in quite some time and I THOUGHT this was the proper way
to store these hash pairs but it's not working.
Once I complete getting all the different people's names and answers in one
question, I sort them by answer then print out a single answer with all the
names who chose that answer.
I'd appreciate any help anyone can give me.
Thanks in advance!
I figured I'd ask for some help
I'm trying to create a hash with name/answer pairs.
I retrieve a person's userid ($name) and their response ($answer) to a
multiple choice question in a poll.
I'm trying to store these into a simple hash:
$responses{ $name } = $answer;
I haven't used perl in quite some time and I THOUGHT this was the proper way
to store these hash pairs but it's not working.
Once I complete getting all the different people's names and answers in one
question, I sort them by answer then print out a single answer with all the
names who chose that answer.
I'd appreciate any help anyone can give me.
Thanks in advance!