4d0ccb6
From 2c6f580d94d78b0a8e120ba86858ffcb003b08eb Mon Sep 17 00:00:00 2001
4d0ccb6
From: Jitka Plesnikova <jplesnik@redhat.com>
4d0ccb6
Date: Thu, 24 May 2018 09:38:04 +0200
4d0ccb6
Subject: [PATCH] Upgrade to 5.73
4d0ccb6
4d0ccb6
---
4d0ccb6
 lib/Exporter.pm | 32 ++++++++++++++++----------------
4d0ccb6
 1 file changed, 16 insertions(+), 16 deletions(-)
4d0ccb6
4d0ccb6
diff --git a/lib/Exporter.pm b/lib/Exporter.pm
4d0ccb6
index 0b3db21..0e8775d 100644
4d0ccb6
--- a/lib/Exporter.pm
4d0ccb6
+++ b/lib/Exporter.pm
4d0ccb6
@@ -9,7 +9,7 @@ require 5.006;
4d0ccb6
 our $Debug = 0;
4d0ccb6
 our $ExportLevel = 0;
4d0ccb6
 our $Verbose ||= 0;
4d0ccb6
-our $VERSION = '5.72';
4d0ccb6
+our $VERSION = '5.73';
4d0ccb6
 our (%Cache);
4d0ccb6
 
4d0ccb6
 sub as_heavy {
4d0ccb6
@@ -106,14 +106,14 @@ In module F<YourModule.pm>:
4d0ccb6
 
4d0ccb6
   package YourModule;
4d0ccb6
   require Exporter;
4d0ccb6
-  @ISA = qw(Exporter);
4d0ccb6
-  @EXPORT_OK = qw(munge frobnicate);  # symbols to export on request
4d0ccb6
+  our @ISA = qw(Exporter);
4d0ccb6
+  our @EXPORT_OK = qw(munge frobnicate);  # symbols to export on request
4d0ccb6
 
4d0ccb6
 or
4d0ccb6
 
4d0ccb6
   package YourModule;
4d0ccb6
   use Exporter 'import'; # gives you Exporter's import() method directly
4d0ccb6
-  @EXPORT_OK = qw(munge frobnicate);  # symbols to export on request
4d0ccb6
+  our @EXPORT_OK = qw(munge frobnicate);  # symbols to export on request
4d0ccb6
 
4d0ccb6
 In other files which wish to use C<YourModule>:
4d0ccb6
 
4d0ccb6
@@ -146,8 +146,8 @@ symbols can represent functions, scalars, arrays, hashes, or typeglobs.
4d0ccb6
 The symbols must be given by full name with the exception that the
4d0ccb6
 ampersand in front of a function is optional, e.g.
4d0ccb6
 
4d0ccb6
-    @EXPORT    = qw(afunc $scalar @array);   # afunc is a function
4d0ccb6
-    @EXPORT_OK = qw(&bfunc %hash *typeglob); # explicit prefix on &bfunc
4d0ccb6
+    our @EXPORT    = qw(afunc $scalar @array);   # afunc is a function
4d0ccb6
+    our @EXPORT_OK = qw(&bfunc %hash *typeglob); # explicit prefix on &bfunc
4d0ccb6
 
4d0ccb6
 If you are only exporting function names it is recommended to omit the
4d0ccb6
 ampersand, as the implementation is faster this way.
4d0ccb6
@@ -234,9 +234,9 @@ include :DEFAULT explicitly.
4d0ccb6
 
4d0ccb6
 e.g., F<Module.pm> defines:
4d0ccb6
 
4d0ccb6
-    @EXPORT      = qw(A1 A2 A3 A4 A5);
4d0ccb6
-    @EXPORT_OK   = qw(B1 B2 B3 B4 B5);
4d0ccb6
-    %EXPORT_TAGS = (T1 => [qw(A1 A2 B1 B2)], T2 => [qw(A1 A2 B3 B4)]);
4d0ccb6
+    our @EXPORT      = qw(A1 A2 A3 A4 A5);
4d0ccb6
+    our @EXPORT_OK   = qw(B1 B2 B3 B4 B5);
4d0ccb6
+    our %EXPORT_TAGS = (T1 => [qw(A1 A2 B1 B2)], T2 => [qw(A1 A2 B3 B4)]);
4d0ccb6
 
4d0ccb6
 Note that you cannot use tags in @EXPORT or @EXPORT_OK.
4d0ccb6
 
4d0ccb6
@@ -279,8 +279,8 @@ import function:
4d0ccb6
 
4d0ccb6
     package A;
4d0ccb6
 
4d0ccb6
-    @ISA = qw(Exporter);
4d0ccb6
-    @EXPORT_OK = qw($b);
4d0ccb6
+    our @ISA = qw(Exporter);
4d0ccb6
+    our @EXPORT_OK = qw($b);
4d0ccb6
 
4d0ccb6
     sub import
4d0ccb6
     {
4d0ccb6
@@ -293,8 +293,8 @@ inheritance, as it stands Exporter::import() will never get called.
4d0ccb6
 Instead, say the following:
4d0ccb6
 
4d0ccb6
     package A;
4d0ccb6
-    @ISA = qw(Exporter);
4d0ccb6
-    @EXPORT_OK = qw($b);
4d0ccb6
+    our @ISA = qw(Exporter);
4d0ccb6
+    our @EXPORT_OK = qw($b);
4d0ccb6
 
4d0ccb6
     sub import
4d0ccb6
     {
4d0ccb6
@@ -374,7 +374,7 @@ Since the symbols listed within C<%EXPORT_TAGS> must also appear in either
4d0ccb6
 C<@EXPORT> or C<@EXPORT_OK>, two utility functions are provided which allow
4d0ccb6
 you to easily add tagged sets of symbols to C<@EXPORT> or C<@EXPORT_OK>:
4d0ccb6
 
4d0ccb6
-  %EXPORT_TAGS = (foo => [qw(aa bb cc)], bar => [qw(aa cc dd)]);
4d0ccb6
+  our %EXPORT_TAGS = (foo => [qw(aa bb cc)], bar => [qw(aa cc dd)]);
4d0ccb6
 
4d0ccb6
   Exporter::export_tags('foo');     # add aa, bb and cc to @EXPORT
4d0ccb6
   Exporter::export_ok_tags('bar');  # add aa, cc and dd to @EXPORT_OK
4d0ccb6
@@ -391,7 +391,7 @@ useful to create the utility ":all" to simplify "use" statements.
4d0ccb6
 
4d0ccb6
 The simplest way to do this is:
4d0ccb6
 
4d0ccb6
-  %EXPORT_TAGS = (foo => [qw(aa bb cc)], bar => [qw(aa cc dd)]);
4d0ccb6
+ our  %EXPORT_TAGS = (foo => [qw(aa bb cc)], bar => [qw(aa cc dd)]);
4d0ccb6
 
4d0ccb6
   # add all the other ":class" tags to the ":all" class,
4d0ccb6
   # deleting duplicates
4d0ccb6
@@ -460,7 +460,7 @@ variables C<@EXPORT_OK>, C<@EXPORT>, C<@ISA>, etc.
4d0ccb6
   our @ISA = qw(Exporter);
4d0ccb6
   our @EXPORT_OK = qw(munge frobnicate);
4d0ccb6
 
4d0ccb6
-If backward compatibility for Perls under 5.6 is important,
4d0ccb6
+If backward compatibility for Perls B<under> 5.6 is important,
4d0ccb6
 one must write instead a C<use vars> statement.
4d0ccb6
 
4d0ccb6
   use vars qw(@ISA @EXPORT_OK);
4d0ccb6
-- 
4d0ccb6
2.14.3
4d0ccb6