NAME
Tie::Handle::Flock - exclusive locking write handle
VERSION
Version 0.01
SYNOPSIS
use Tie::Handle::Flock;
tie *FH, 'Tie::Handle::Flock', '>', 'some_file.txt';
print FH "exclusive lock obtained for duration of the write\n";
METHODS
- WRITE
-
method called when something writes to the filehandle
-
method called when something prints to the filehandle
- PRINTF
-
method called when something prints formatted text to the filehandle
- lock
-
method called to obtoin an exclusive lock on the filehandle prior to any write activity
- unlock
-
method called to release the exclusive lock after the write is complete
AUTHOR
Ivan Heffner, <iheffner at gmail.com>
BUGS
Please report any bugs or feature requests to bug-tie-handle-flock at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Tie-Handle-Flock. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Tie::Handle::Flock
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
COPYRIGHT & LICENSE
Copyright 2009 Ivan Heffner, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.