# This software may be freely distributed and used according to the terms
# of the GNU Lesser General Public License.
-package Sherlock::Config;
+package UCW::Config;
use strict;
use warnings;
} elsif (ref $var eq "ARRAY") {
push @$var, $val;
} elsif (ref $var) {
- die ("Sherlock::Config::Parse: don't know how to set $o");
+ die ("UCW::Config::Parse: don't know how to set $o");
}
}
}
#
#
# Interface:
-# Sherlock::Filelock::fcntl_lock($fd, $cmd, $type, $whence, $start, $len)
+# UCW::Filelock::fcntl_lock($fd, $cmd, $type, $whence, $start, $len)
#
-package Sherlock::Filelock;
+package UCW::Filelock;
use 5.006;
use strict;
our $VERSION = '0.01';
-bootstrap Sherlock::Filelock $VERSION;
+bootstrap UCW::Filelock $VERSION;
# Preloaded methods go here.
#include <fcntl.h>
-MODULE = Sherlock::Filelock PACKAGE = Sherlock::Filelock
+MODULE = UCW::Filelock PACKAGE = UCW::Filelock
PROTOTYPES: ENABLED
use ExtUtils::MakeMaker;
WriteMakefile(
- 'NAME' => 'Sherlock::Filelock',
+ 'NAME' => 'UCW::Filelock',
'VERSION_FROM' => 'Filelock.pm',
'INST_LIB' => 'lib',
'INST_ARCHLIB' => 'arch',
# (c) 2007 Pavel Charvat <pchar@ucw.cz>
#
-package Sherlock::Log;
+package UCW::Log;
use lib 'lib/perl5';
use strict;
use ExtUtils::MakeMaker;
WriteMakefile(
- 'NAME' => 'Sherlock::Ulimit',
+ 'NAME' => 'UCW::Ulimit',
'VERSION_FROM' => 'Ulimit.pm',
'INST_LIB' => 'lib',
'INST_ARCHLIB' => 'arch',
#
#
# Interface:
-# Sherlock::Ulimit::setlimit( $resource, $softlimit, $hardlimit)
-# Sherlock::Ulimit::getlimit( $resource, $softlimit, $hardlimit)
+# UCW::Ulimit::setlimit( $resource, $softlimit, $hardlimit)
+# UCW::Ulimit::getlimit( $resource, $softlimit, $hardlimit)
#
# setlimit sets limit to values supplied in softlimit and hardlimit
# getlimit reads limits into softlimit and hardlimit
# $resource constants are defined below
#
-package Sherlock::Ulimit;
+package UCW::Ulimit;
use 5.006;
use strict;
our $VERSION = '0.01';
-bootstrap Sherlock::Ulimit $VERSION;
+bootstrap UCW::Ulimit $VERSION;
# Preloaded methods go here.
#include <unistd.h>
-MODULE = Sherlock::Ulimit PACKAGE = Sherlock::Ulimit
+MODULE = UCW::Ulimit PACKAGE = UCW::Ulimit
PROTOTYPES: ENABLED