On Sat, Feb 05, 2005 at 06:52:49AM -0800, Larry Wall wrote: > Hmm, I believe I said somewhere that references are no longer always true > in Perl 6. So perhaps it's not an exception after all. We're trying > to get rid of as many useless exceptions as possible in Perl 6, after all.
Yes, the relevant place in S02 is: * Unlike in Perl 5, references are no longer always considered true. It depends on the state of their .bit property. Classes get to decide which of their values are true and which are false. So, should I make the default implementation of Scalar Refs to return the .bit value of the referent? Thanks, /Autrijus/
pgp5YiP7zSHyI.pgp
Description: PGP signature