Subject: | [PATCH] Fix for 5.21.4 |
The ‘global symbol’ message has become longer:
$ perl5.21.4 -Mstrict -e%foo
Global symbol "%foo" requires explicit package name (did you forget to declare "my %foo"?) at -e line 1.
Execution of -e aborted due to compilation errors.
Sorry for reporting this here and not via perlide.org. I have limited web access and cannot get to that site. I hope this reaches at least some of the maintainers.
Also, I have not been able to build Padre and test this patch. So I don’t know how helpful this patch is. :-(
Subject: | open_dUIgkOHM.txt |
diff -rup Padre-1.00-5UQpYg-orig/t/82_plugin_manager.t Padre-1.00-5UQpYg/t/82_plugin_manager.t
--- Padre-1.00-5UQpYg-orig/t/82_plugin_manager.t 2011-12-05 22:48:24.000000000 -0800
+++ Padre-1.00-5UQpYg/t/82_plugin_manager.t 2014-10-03 08:24:17.000000000 -0700
@@ -102,7 +102,7 @@ SCOPE: {
is $manager->plugins->{'Padre::Plugin::A'}->{status}, 'error', 'error in loading A';
my $msg1 = $english ? qr/Padre::Plugin::A - Crashed while loading\:/ : qr/.*/;
like $manager->plugins->{'Padre::Plugin::A'}->errstr,
- qr/^$msg1 Global symbol "\$syntax_error" requires explicit package name at/,
+ qr/^$msg1 Global symbol "\$syntax_error" requires explicit package name/,
'text of error message';
$manager->load_plugin('Padre::Plugin::B');