Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding a folder/file 2

Status
Not open for further replies.

torstens

Technical User
Oct 9, 2006
26
0
0
US
I'm looking for a way for perl to read in all the files (these would contain DNA sequence data) in a folder that the user inputs. Essentially my question is, how can the user pinpoint a folder for perl to examine that is in just some odd location?
 
perl contains a core library for recursively searching a directory tree:


However, there obviously has to be some condition for which you can tell that this is the file that you're looking for. At this point you haven't told us anything more about your search, so this is all that we can really tell you.

Good luck.
 
Globbing could also be useful

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top