I'm having trouble figuring this one out here... Basically, like my previous post, I'm having perl search a text database for a specific name. Only, what I need it to do is to search the database for a specific name, then the next 3 lines will be assigned to an array. So... if say "users.txt" looks like:
Joe
2
9
8
and they typed in joe, there would be an array called @joe, and values 0-2 would be 2, 9 and 8 respectively.
I for the life of me can't figure out how to do something like this. Any help would be GREATLY appreciated, I've been trying to figure out how to do this for the past week and don't even know where to start. tanks