Subject: | [PATCH] Fix for 5.21.4 |
The ‘Global symbol’ message has changed in perl 5.21.4. See the attached patch and <https://rt.perl.org/Ticket/Display.html?id=122814>.
Subject: | open_FQaIq4xN.txt |
diff -rup Config-0.01-2p9rsg-orig/t/export.t Config-0.01-2p9rsg/t/export.t
--- Config-0.01-2p9rsg-orig/t/export.t 2003-05-26 19:00:00.000000000 -0700
+++ Config-0.01-2p9rsg/t/export.t 2014-09-21 23:24:39.000000000 -0700
@@ -10,7 +10,7 @@ eval <<'EXPORT';
use cvExp;
my $meower = $cat;
EXPORT
-like $@, qr/^Global symbol "\$cat\" requires explicit package name at/ => 'No default export';
+like $@, qr/^Global symbol "\$cat\" requires explicit package name/ => 'No default export';
eval <<'EXPORT_ALL';