| IO-File-Lockable documentation | view source | Contained in the IO-File-Lockable distribution. |
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.
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.
| IO-File-Lockable documentation | view source | Contained in the IO-File-Lockable distribution. |