nysus has asked for the wisdom of the Perl Monks concerning the following question:
unless (flock(FH, LOCK_EX|LOCK_NB)) I'm guessing the "pipe" character is the bitwise OR operator.
Two questions:
$PM = "Perl Monk's";
What exactly does a bitwise OR do?
How does it work in the above case?
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: One more on file locking
by nysus (Parson) on May 13, 2001 at 12:03 UTC |