On Apr 28, 2004, at 11:32 PM, Mark Wheeler wrote:
copy ("$dirfrom$dbpath[$i]/$dbname[$i]", "$dirto$backup") or warn "Can't copy file: $dbname[$i] - $!\n";
You might want to try a more verbose error message, like:
warn "Can't copy file $dirfrom$dbpath[$i]/$dbname[$i] to $dirto$backup - $!\n";
That would verify that it's trying to copy what you think it's trying to copy.
sherm--