NAME

PerlIO::flock - Easy flock() interface

SYNOPSIS

open my $in,  '< :flock', $file; # shared lock
open my $out, '+<:flock', $file; # exclusive lock

binmode($fh, ':flock(blocking)');
binmode($fh, ':flock(non-blocking)');

SEE ALSO

PerlIO::Util.

AUTHOR

Goro Fuji <gfuji (at) cpan.org>

LICENCE AND COPYRIGHT

Copyright (c) 2008, Goro Fuji <gfuji (at) cpan.org>. Some rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.