I know this doesn't actually answer your initial question, but you
should try using the File::Find module.  It's one of the standard
modules that comes with just about any distribution.

'perldoc File::Find'  should give you more information.




-----Original Message-----
From: John Lin [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 13, 2004 5:07 PM
To: [EMAIL PROTECTED]
Subject: Searching through a directory.

Hi List,

This is probably a really simple question, but I need some help with
this.
Basically,  I am searching through a directory and if something matches
what I am looking for, then save that filename to a text file.  

--
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