]> mj.ucw.cz Git - libucw.git/blobdiff - lib/perl/Ulimit/Ulimit.pm
removed useless code from Ulimit & Filelock perl modules
[libucw.git] / lib / perl / Ulimit / Ulimit.pm
index ed66b3f9435ecf71a6ce0709d079e9ffa268a36b..8e198324cc597e340135ead39efb5c6bb0a8da29 100644 (file)
@@ -10,7 +10,7 @@
 # Interface:
 #   Sherlock::Ulimit::setlimit( $resource, $softlimit, $hardlimit)
 #   Sherlock::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
@@ -22,10 +22,9 @@ use 5.006;
 use strict;
 use warnings;
 
-require Exporter;
 require DynaLoader;
 
-our @ISA = qw(Exporter DynaLoader);
+our @ISA = qw(DynaLoader);
 unshift @DynaLoader::dl_library_path, "lib";
 
 our $CPU = 0;
@@ -39,18 +38,6 @@ our $NOFILE = 7;
 our $MEMLOCK = 8;
 our $AS = 9;
 
-
-# This allows declaration      use Ulimit ':all';
-# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
-# will save memory.
-our %EXPORT_TAGS = ( 'all' => [ qw(
-       
-) ] );
-
-our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
-
-our @EXPORT = qw(
-);
 our $VERSION = '0.01';
 
 bootstrap Sherlock::Ulimit $VERSION;