http://www.perlmonks.org?node_id=859320

rpike has asked for the wisdom of the Perl Monks concerning the following question:

I have a call to the sysopen function with a legimate directory path but the filename does not yet exist. The full call is :
sysopen (LOGFILE, $fullLogFile, O_RDWR | O_CREAT) or die "Cannot open +".$fullLogFile." for writing. ".$!;
$! - is set to No such file or directory The directory is correct and I checked the permissions on the directory for read, write, create,..... and everything looks good. Is there something else I can try? Another system variable to print? Etc..,? Any help would be appreciated. Thanks.