No, it's definitely the pathname that you're locking. The name you chose for the filehandle when you opened the file is not relevant to the locking process.
In reply to Re: Re: Re: flock for same file different scripts
by grantm
in thread flock for same file different scripts
by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |