I have a few suggestions.
- Rephrase your question using complete sentences, capitalization, punctuation, and maybe even paragraphs. We don't require that you use the Queen's English, but your post has to be basically intelligible, which yours isn't really right now.
- Provide at least a rough sketch, using code in what you know of Perl, of what your program is actually going to do. Posting real code that you've already written and explaining where you're stuck is even more helpful.
- Take a look at some documentation. system explains how to simply call an external program from Perl, and perlopentut explain ways of passing data back and forth from external programs, and also how to write or append data to text files. bioperl has a lot of resources for manipulating gene sequence data and the like with Perl.