aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-06 04:14:07 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-06 04:14:07 +0100
commit601c29e0e9364b9b4500e24f37118ed3cf7f6630 (patch)
tree3ab4f364337c1d858cd1e8ed72c8cfb78b158a9f /SBO-Lib/lib/SBO
parent2cd32e7247f1babad2726551a43b521a91bc76f4 (diff)
downloadsbotools2-601c29e0e9364b9b4500e24f37118ed3cf7f6630.tar.xz
Change from @EXPORT to @EXPORT_OK
Diffstat (limited to 'SBO-Lib/lib/SBO')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm10
1 files changed, 7 insertions, 3 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index 083f532..fcd0d39 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -17,9 +17,9 @@ use warnings FATAL => 'all';
package SBO::Lib;
our $VERSION = '1.9';
-require Exporter;
-our @ISA = qw(Exporter);
-our @EXPORT = qw(
+use Exporter 'import';
+
+our @EXPORT_OK = qw(
script_error
open_fh
open_read
@@ -60,6 +60,10 @@ our @EXPORT = qw(
%config
);
+our %EXPORT_TAGS = (
+ all => \@EXPORT_OK,
+);
+
use constant {
_ERR_USAGE => 1, # usage errors
_ERR_SCRIPT => 2, # errors with the scripts themselves