IO::File::fcntl - extension of IO::File for fcntl
use IO::File::fcntl; my $fh = new IO::File::fcntl($filename); # auto lock_(ex|sh) my $fh = new IO::File::fcntl($filename,'<'); # auto lock_ex my $fh = new IO::File::fcntl($filename,'>','lock_sh'); my $fh = new IO::File::fcntl($filename,'<','lock_ex',60); etc,etc....
IO::File::fcntl inherits from IO::File::Lockable.
IO::File::fcntl
IO::File::Lockable
creates a IO::File::fcntl.
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.
Fcntl, IO::File, IO::File::Lockable IO::File::flock
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.