BTW, to avoid having to remember that 2 is "exclusive lock", you can use symbolic names from the Fcntl module:
See the perlfunc document for details.use Fcntl; ... flock(I, LOCK_EX);
In reply to Re: Re: Re: Count number of lines?
by VSarkiss
in thread Count number of lines?
by ginocapelli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |