in reply to perl CGI: No such file or directory yet file exists???
so that you can include the process's current working directory in the error message:use Cwd;
open( GRADES, '<', $grades ) or die sprintf("error opening %s: %s (%d) cwd=%s\n", $grades, $!, $ +!+0, getcwd );
|
|---|