in reply to concatenating strings
unless (-x $file) { warn "file $file does not appear to exist or is not executable\n"; next; } [download]
That will also tell you the name of the file not found. Put it right before the system call.