in reply to Perlish way of copying files

I'd take the use File::Copy path but to make sure that recursive copying is available make that a sub that might call itself (or at least check for directories and skip them). And don't forget to closedir INDIR; ;-)

You might want to take a look at File::Path though that handles the creation of directories and not of files (AFAIK)

Regards Stefan K

Replies are listed 'Best First'.
Re: Re: Perlish way of copying files
by Sifmole (Chaplain) on May 03, 2001 at 18:33 UTC
    Thanks for the point on the subdirs. I don't want it to recurse them, so I will just be making sure I toss them out.