develooper Front page | perl.perl5.porters | Postings from October 2016

[perl #129981] EXPORT_TAGS no longer immune to once warnings

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
October 29, 2016 14:30
Subject:
[perl #129981] EXPORT_TAGS no longer immune to once warnings
Message ID:
rt-4.0.24-12141-1477751408-1393.129981-15-0@perl.org
On Thu Oct 27 23:58:15 2016, demerphq wrote:
> Yes. I did.
> 
> commit 055ae706a0637a77ba440aedf596d2ebac642051
> Author: Yves Orton <demerphq@gmail.com>
> Date:   Thu Oct 27 15:36:27 2016 +0200
> 
>     must check all the EXPORT vars in two places!
> 
>     (Silence lots of used once warnings we used to not generate)

Your original commit message said:

> Another issue is that some of the code was inadverdantly
> doing prefix matches, and not exact matchs for certain
> magic var names. This is fixed as part of these changes.

I do not think it was inadvertent.  I believe there are other EXPORT_* variables also used, but grep.cpan.me is down right now.

In any case, I think there *should* be a prefix match for EXPORT*.


-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: resolved
https://rt.perl.org/Ticket/Display.html?id=129981

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About