Re: Use of File::Copy

2001-06-19 Thread Tim Musson
Hey Fabien, Tuesday, June 19, 2001, 5:05:19 AM, you wrote: FJ> I'm trying to use copy($name,$folder.$name), but it doesn't work! FJ> Yet, I've put "use File::copy" in my program. FJ> I tried with $name = "essai0.flr" and $folder="archive\\" on Win NT4 >From this list I have found that a great

Re: Use of File::Copy

2001-06-19 Thread Tony Cook
On Tue, 19 Jun 2001, Fabien JACQUET wrote: > Hi all, > > I'm trying to use copy($name,$folder.$name), but it doesn't work! > Yet, I've put "use File::copy" in my program. Perl is case-sensitive. You want: use File::Copy; With: use File::copy; under Win32, perl finds the file OK, but t

RE: Use of File::Copy

2001-06-19 Thread John Edwards
Try use File::Copy; $name = "essai0.flr"; $folder="c:\\archive"; copy($name,"$folder\\$name"); Note that you define the full path to the folder. John -Original Message- From: Fabien JACQUET [mailto:[EMAIL PROTECTED]] Sent: 19 June 2001 10:05 To: [EM

Use of File::Copy

2001-06-19 Thread Fabien JACQUET
Hi all, I'm trying to use copy($name,$folder.$name), but it doesn't work! Yet, I've put "use File::copy" in my program. I tried with $name = "essai0.flr" and $folder="archive\\" on Win NT4 need some help... -- Fabien Jacquet