1 # Perl module for setting process limits
3 # (c) 2007 Pavel Charvat <pchar@ucw.cz>
5 # This software may be freely distributed and used according to the terms
6 # of the GNU Lesser General Public License.
11 # Sherlock::Filelock::fcntllock($handle, $type, $whence, $start, $len)
14 package Sherlock::Filelock;
23 our @ISA = qw(Exporter DynaLoader);
24 unshift @DynaLoader::dl_library_path, "lib";
26 # This allows declaration use Filelock ':all';
27 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
29 our %EXPORT_TAGS = ( 'all' => [ qw(
33 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
37 our $VERSION = '0.01';
39 bootstrap Sherlock::Filelock $VERSION;
41 # Preloaded methods go here.