]> mj.ucw.cz Git - libucw.git/commitdiff
removed useless code from Ulimit & Filelock perl modules
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 20 Mar 2007 09:56:40 +0000 (10:56 +0100)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 20 Mar 2007 09:56:40 +0000 (10:56 +0100)
lib/perl/Filelock/Filelock.pm
lib/perl/Ulimit/Ulimit.pm

index d55d49ebeb6a7548c1ed3a9aea3468b41f70d4d5..a350605091e6e102b9ba300460c0af557566b546 100644 (file)
@@ -17,23 +17,11 @@ 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";
 
-# This allows declaration      use Filelock ':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::Filelock $VERSION;
index a05ea5b5d13a6442542dce4853d99a5d96e25e47..8e198324cc597e340135ead39efb5c6bb0a8da29 100644 (file)
@@ -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;