in reply to File Copy on Linux
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: File Copy on Linux
by Anonymous Monk on Dec 16, 2003 at 23:27 UTC |