develooper Front page | perl.perl6.language.data | Postings from September 2000

Re: RFC 234 (v1) Data: overloading via the SECOND operand if needed

Thread Next
From:
Ilya Zakharevich
Date:
September 19, 2000 16:10
Subject:
Re: RFC 234 (v1) Data: overloading via the SECOND operand if needed
Message ID:
20000919191020.A7246@monk.mps.ohio-state.edu
==================================================================
What if both modules have this :override bit set at the same time?
Does the second one still win? Or does the first one win again?
==================================================================

It is wise to live the behaviour undefined in such a case.

==================================================================
Either way I'm not sure it solves the problem; if each module asserts
that *they* are the smarter one then you either wind up with the same
situation you have now or even worse contention.
==================================================================

Yes.  So do not do this.

Ilya


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