LA.pm: Exlusive write lock

Jeff Yoak jeff at yoak.com
Mon Jul 2 02:43:57 CDT 2001


At 06:21 PM 7/1/01 -0500, Arkadiy Sudarikov wrote:
>How do I set an exlusive write lock on file? Since they changed
>www.perl.com, I can't find shit.

perldoc -f flock

flock($fh,2) or die "flock $!";

Cheers,
Jeff





More information about the Losangeles-pm mailing list