The lexical filehandle fell out of scope, auto closed, and the flock was implicitly released. The problem isn't with flock, nor with lexical filehandles. It's a matter of coping with scoping. ;)
Dave
In reply to Re: how to convert lexical filehand so flock will work with it
by davido
in thread how to convert lexical filehand so flock will work with it
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |