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

Data::Alias and op_private flag assertions

Thread Next
From:
Father Chrysostomos
Date:
October 9, 2014 15:28
Subject:
Data::Alias and op_private flag assertions
Message ID:
20141009152759.7280.qmail@lists-nntp.develooper.com
Data::Alias adds its own private flags to certain ops.  So it trips on
the assertion failure recently added to make sure that no ops have
invalid private flags set.

I'm wondering about the best approach to solve this.  (I'm trying to
patch Data::Alias for other issues, but this one is now preventing all
tests from passing for me.)  Adding an op-freeing hook or registering
a custom op seems like overkill (and I'm not sure of all the implica-
tions of the latter).

So would it be acceptable to skip the private flag check if the ppaddr
has been reassigned?  That would make this kind of hackery slightly
easier.  And the assertion failure is happening for cosmetic rea-
sons anyway.


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