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;
In reply to One more on file locking by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |