Bill Akins wrote: > > I need to read in every file in a dir into a new file. I can do it like > below if I know the file names, but how can I specify *.CSV? Actually there > will be only the data files I need to read in the dir so *.* would work as > well. Perhaps I should also mention this is running on Win 2K. > Easy things are very easy in Perl. Lets build an array of the names of all csv files in a directory, let's call it c:\mickeysoft.
chdir 'c:\mickeysoft'; # let's go to directory @csvfiles = <*.csv>; # let's use the filter you described, *.* would be possible, too That's all what's to do. Greetings, Andrea -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]