------------------------------------------------
On Wed, 17 Sep 2003 10:38:08 -0500, "Michael Weber" <[EMAIL PROTECTED]> wrote:

> Been to CPAN enough that I'm seeing crosseyed.
> 
> What I want to do is to write a program that will return a list of files named *.edi 
> which are found in <some-directory-base>/*/files_in directory and then process each 
> file one at a time.
> 
> Now for the kicker.  It needs to run now on a Win32 platform, and in a few months on 
> a Linux platform with as few changes as possible.
> 
> In a linux shell script, it would look something like this:
> 
> for file in $base_dir/*/files_in/*.edi
> do
>     <process $file>
> done
> 
> Am I looking for a module to return file names when it is a coding issue?
> 

Have you checked out File::Find?  Should be standard with "newer" Perl's.  Should do 
exactly what you are asking...

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to