Just for the record I have the impression that flock works on the filehandle rather than the file - is it the case that filehandles in all scripts should use the same name in order to flock properly, or is it the path/filename which holds sway?
It's not a problem as I have used the same filehandle anyway, but just to get to the bottom of this...In reply to Re: Re: flock for same file different scripts
by jonnyfolk
in thread flock for same file different scripts
by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |