I m new to perl programming and got stuck in doing some thing new. I have to text file in same location named name.txt and marks.txt
In name.txt content mentioned like below
Name(1)=abc
Name(2)=xyz
Name(3)=abc and so on.
Similarly in marks.txt content is like
Marks_achieved(1)=70
Marks_achieved(2)=80
Marks_achieved(3)=60 and so on
Now I want that where name "abc" is found in "name.txt" the numbers mentioned against "abc" get stored in array and then it will search for value mentioned against in this numbers in marks.txt
And finally my output like abc 70 abc 60 get dumped in new file.
Please help me out. And thanks in advance