From 601c29e0e9364b9b4500e24f37118ed3cf7f6630 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sun, 6 Dec 2015 04:14:07 +0100 Subject: Change from @EXPORT to @EXPORT_OK --- SBO-Lib/lib/SBO/Lib.pm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'SBO-Lib/lib/SBO/Lib.pm') 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 -- cgit v1.2.3