in reply to perl script to execute a single command for multiple entries
so i want to write a perl script
Sure, go for it, I give you permission. Was there anything else you wanted?
To put it another way: where are you having a problem? What have you tried already and how did it fail? The more effort you put into your question the better the help you will get. As a general thing we don't do your work for you, but we often go to extraordinary lengths to help you understand how to do things for yourself - give us that chance.