aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO
diff options
context:
space:
mode:
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