Edward Wijaya wrote:
Hi,

How can I modify the early part of code below
such that I don't have to manually key in the files this way:

perl mycode.pl data1P.fa data1R.fa data2P.fa data2R.fa ....etc

I.e. just by typing this will do:

perl mycode.pl


Thanks so much for your time beforehand.


Based on the comment in the code the file list is in a directory? If so,

perldoc -f opendir
perldoc -f readdir
perldoc -f glob

Should provide some obvious solutions.

http://danconia.org

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to