![]() |
|< 1 2 3 >| | ![]() |
22 Einträge, 3 Seiten |
PerlModule von Doug Sparling und Frank Wiles Addison-Wesley
1
2
3
4
5
6
7
8
open(FILE, ">>$GUESTBOOK") or
die "Can't open $GUESTBOOK: $!\n";
flock(FILE, LOCK_EX); # Exclusive lock for writing
print FILE $time, ':::', $name, ':::', $ip, ':::', $email, ':::', $comments, "\n";
flock(FILE, LOCK_UN); # Unlock the file
close FILE;
Bareword "LOCK_EX" not allowed while "strict subs" in use at ...
Bareword "LOCK_EX" not allowed while "strict subs" in use at ...
Bareword "LOCK_EX" not allowed while "strict subs" in use at ...
![]() |
|< 1 2 3 >| | ![]() |
22 Einträge, 3 Seiten |