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 thing to do when writing code
is start your code with:
#!perl -w
use strict;
use diagnostics;

All 3 things work together to give you output about your code -
especially if things are not correct (like "use File::copy;" instead of
"use File::Copy;")

Also, I have found that you can use / as a directory delimiter in your
Win32 Perl code.  It is easier than escaping the \ with \\.  Doesn't
affect the code as far as I can tell, but it is one less change you
would need to make to run on UNIX.

-- 
[EMAIL PROTECTED]
Using The Bat! eMail v1.53bis
Windows NT 5.0.2195 (Service Pack 1)
If you drink, don't park.  Accidents cause people.

Reply via email to