Could you be more explicit about the errors you are getting? Or do you only get "execution of fileCopy.pl aborted due to compilation errors"? I suspect that what you are really getting is a list of errors that looks like:
Global symbol "$copyLog" requires explicit package name at fileCopy.pl line w. Global symbol "$now" requires explicit package name at fileCopy.pl line x. Global symbol "$copyLog" requires explicit package name at fileCopy.pl line y. Global symbol "$count" requires explicit package name at fileCopy.pl line z.
Since you are using strict (which is a good idea), you need to declare your variables with 'my' or 'our'.
Benedictus
In reply to Re: File Copy on Linux
by Benedictus
in thread File Copy on Linux
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |