in reply to
Re: open FH, "|foo" under modperl2
in thread open FH, "|foo" under modperl2
Calls flock(2), or an emulation of it, on FILEHANDLE.
Admittedly, 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.
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.