perlfunc:flock says:
flock FILEHANDLE,OPERATIONAdmittedly, I've never tried to flock anything other than a filehandle related to a physical file, however to be picky: flock _does_ work against filehandles.
Calls flock(2), or an emulation of it, on FILEHANDLE.
If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.
In reply to Re: Re: open FH, "|foo" under modperl2
by BazB
in thread open FH, "|foo" under modperl2
by tofu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |