Open hurricup opened 9 years ago
This is not about tags and this should work already.
@EXPORT
and @EXPORT_OK
already supported. This issue is about @EXPORT_TAGS
My apologies, I followed the link on #1560. I must have misunderstood the issue.
ping?.. This and the support for indirect reference, e.g.
my @arr = qw/sub1 sub2/; @EXPORTER = @arr;
are dearly missed for me.
Maybe when the variable, or a sub is explicitly imported, such as
use Module qw($VAR);
and later
print $VAR, "\n";
it can pick the resolution from the usage statement.
It does, if plugin understands, how export been done. See Carp
for example.
If some tricky export been used, it requires additional efforts from my side to make it work
Did you have a chance to work on this one?
+1
It should be nice to resolve the "Unable to find sub definition" when importing a tag.
Emanuele
This would be a very nice feature to have. In our application, we have a Util module which contains a lot of helper functions which we import into all of our other modules. For example,
In Util module
In some other module
Currently, what we see in the IDE is as follows: