Skip Menu |

This queue is for tickets about the Perl6-Export CPAN distribution.

Report information
The Basics
Id: 30245
Status: new
Priority: 0/
Queue: Perl6-Export

People
Owner: Nobody in particular
Requestors: dekimsey [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: compilation fails if Exporter's variables are not already scoped
In a module using Perl6::Export, if the (@EXPORT, %EXPORT, @EXPORT_OK, %EXPORT_TAGS) variables are not already defined, the compilation fails with the errors: --- Global symbol "%EXPORT" requires explicit package name at Params_Common.pm line 5. Global symbol "%EXPORT_TAGS" requires explicit package name at Params_Common.pm line 5. Global symbol "%EXPORT_TAGS" requires explicit package name at Params_Common.pm line 5. BEGIN not safe after errors--compilation aborted at Params_Common.pm line 5. --- The filter should probably include the "our (@EXPORT...)" as part of the false_import_sub if the variables have not already been defined in the source. I do not know if this is an intended opertaion/feature. But it seems kinda silly given the idea is to not have to use Exporter and its corresponding variable syntax.