[Bioperl-l] How to check if a file exists in a large directory

ted Huang dna88880 at yahoo.com
Thu Oct 21 14:17:24 EDT 2004


Hi, there,

I use the following codes to check if a file exists.
It works fine if the directory contains less than ca.
20000 files. But if the directory contains more than
20000 files. It fails. Any idea? Thanks.

Sally

      if (-e $dnaFile){
      	push(@num,$i);
    }   


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


More information about the Bioperl-l mailing list