| IO-File-Lockable documentation | view source | Contained in the IO-File-Lockable distribution. |
IO::File::Lockable - supply lock based methods for I/O File objects
use base qw(IO::File::Lockable);
IO::File::flock inherits from IO::File.
my $fh = new IO::File::Lockable($filename);
my $fh = new IO::File::Lockable($filename,'<');
my $fh = new IO::File::Lockable($filename,'>','lock_sh');
my $fh = new IO::File::Lockable($filename,'<','lock_ex',60);
etc,etc....
Shin Honda (makoto[at]cpan.org,makoto[at]cpan.jp)
Copyright (c) 2004- Shin Honda. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| IO-File-Lockable documentation | view source | Contained in the IO-File-Lockable distribution. |