Re: Copying more than one file using File::Copy

2002-08-08 Thread drieux
On Thursday, August 8, 2002, at 02:00 , <[EMAIL PROTECTED]> wrote: [..] > Maybe I'm missing something obvious... but in Perldoc for File::Copy I > read: "The copy function takes two parameters: a file to copy from and > a file to copy to." for fun you might want to do the perldoc -m Fil

Re: Copying more than one file using File::Copy

2002-08-08 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > > Good day; Hello, > I apologize in advance if this is a very stupid question? > > I'm trying to concatenate two files and have the results written to a > third file. > Maybe I'm missing something obvious... but in Perldoc for File::Copy I > read: "The copy function

Re: Copying more than one file using File::Copy

2002-08-08 Thread John Pitchko
Also being a Perl n00b myself, my suggestion is that you need to do some more work. What about something like: open FILE, "< filename" or die("blahblahblah"); open FILE2, "< filename2" or die("more blahblahblah"); open FILE3, "> filename3" or die ("still blahblahblah"); my $foo = join ("", ); m