Thread testcase schlägt fehl (36 answers)
Opened by GwenDragon at 2017-07-19 21:24

GwenDragon
 2017-07-21 20:33
#186997 #186997
User since
2005-01-17
14748 Artikel
Admin1
[Homepage]
user image
Ich meinte aber sowas:
https://stackoverflow.com/a/6388526
Code: (dl )
1
2
3
4
5
6
use Fcntl   qw( O_CREAT   O_EXCL   O_WRONLY   O_EXLOCK  );

$creat_flags = (O_CREAT | O_EXCL | O_WRONLY | O_EXLOCK );

sysopen(SOMEHANDLE, $somepath, $creat_flags, 0666)
|| die "$0: couldn't sysopen $somepath with flags $creat_flags: $!";

View full thread testcase schlägt fehl