This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove 'our' from one non-Exporter-related variable.
authorJames E Keenan <jkeenan@cpan.org>
Thu, 29 Mar 2018 22:31:14 +0000 (18:31 -0400)
committerJames E Keenan <jkeenan@cpan.org>
Thu, 29 Mar 2018 22:31:19 +0000 (18:31 -0400)
dist/Exporter/lib/Exporter.pm

index f9ccd26..0e8775d 100644 (file)
@@ -354,7 +354,7 @@ will give the module an opportunity to handle the situation before
 generating an error.  The Exporter will call an export_fail method
 with a list of the failed symbols:
 
 generating an error.  The Exporter will call an export_fail method
 with a list of the failed symbols:
 
-  our @failed_symbols = $module_name->export_fail(@failed_symbols);
+  @failed_symbols = $module_name->export_fail(@failed_symbols);
 
 If the C<export_fail> method returns an empty list then no error is
 recorded and all the requested symbols are exported.  If the returned
 
 If the C<export_fail> method returns an empty list then no error is
 recorded and all the requested symbols are exported.  If the returned