Re: Perl File::Copy to Samba share

2006-05-12 Thread John W. Krahn
Eugene Kosov wrote: > John W. Krahn wrote: >>> Following is the subroutine for moving the file >>> >>> sub copyFile($$) { >> >> Your subroutine _moves_ files, it does not _copy_ files, so why is it >> named >> 'copyFile'? You really, really shouldn't use prototypes. If you need to >> verify the n

Re: Perl File::Copy to Samba share

2006-05-12 Thread Eugene Kosov
John W. Krahn wrote: Following is the subroutine for moving the file sub copyFile($$) { Your subroutine _moves_ files, it does not _copy_ files, so why is it named 'copyFile'? You really, really shouldn't use prototypes. If you need to verify the number of arguments you could do somethi

Re: Perl File::Copy to Samba share

2006-05-12 Thread John W. Krahn
Sonika Sachdeva wrote: > Hi List, Hello, > I have a perl program scheduled to do some processing and generate > output as > .zip files ( activeState perl on WinXP) > Now the last part of the program moves .zip files from > c:\ to samba share 'S:\' > Though there is no error reported , but it act