in reply to Directory or file not found while using copy
Read the documentation: File::Copy. It clearly says that the first parameter to the copy() function is a file, singular! If you want to copy multiple files you might for example use the glob() function and copy the files in a loop or use system() to call the copy command provided by the shell
|
|---|