Bundle of thanks to JohnGG, I get what I want. I am not best in perl but now trying to learn steadily form people like you.
Can you give some clue how i can do this other than on command line.
Regards,
Imran
Comment on Re^4: How to enter a filename in each line