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
In reply to Re: Directory or file not found while using copy
by jethro
in thread Directory or file not found while using copy
by rspishock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |