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.
IO::File::flock
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.
To install IO::File::Lockable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::File::Lockable
CPAN shell
perl -MCPAN -e shell install IO::File::Lockable
For more information on module installation, please visit the detailed CPAN module installation guide.