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.