The CGI-Forum

Here you can read all entries on the board and/or make own entries. Have fun!
flock ??? xwolf - xwolf (xwolf@xwolf.com), 15.9.97 - 01:28:48
>Hi,
>Du hattest mir mal eine flock-Routine geschickt.
>Da hattest du geschrieben, es mit &lock(irgendwas); bzw. &unlock(irgendwas; zu benutzen.
>
>In einem Perl-Buch stand nun auch was über flock, und das Beispiel war ohne '&' also z.B. lock(irgendwas);
>
>Welches ist nun richtig? mit oder ohne '&' ???
Beides :))
Ich hab eine Prozedur geschrieben, die lock bzw. unlock heisst.
Die musst du wenn du nicht <= Perl4 hast mit &lock(filehandle) aufrufen.
Innerhalb dieser lock-Prozedur verwende ich flock(). Dort natuerlich ohne
'&'.
Ciao,
Wolfgang


New MessageReply tn thisReply on topicDeleteOverviewPreviousNext Mail this Mail topic Mail all
New messageReply to this messageEntry to this topicDelete entryAll entries Previous Entry Next EntryMail this message Mail this topic Mail all messages

Script written by
Wolfgang Wiese, feedback welcome.