On Fri, May 06, 2005 at 06:49:44PM +0200, Juerd wrote:
: Luke Palmer skribis 2005-05-06 10:43 (-0600):
: > Why the %!@ would you ignore that!? :-)
: I hate my brain. Now I wonder if Bool.does(Hash). Does it? :)

Any Object does Hash, and treats any argumentless method as a potential
hash key.  So Bool is likely to recognize $boolean<bit> and return 0
or 1, possibly disguised as Bool::true or Bool::false.  On the other
hand, a low-level bool type might not choose to box itself to Bool just
so you can treat it as a hash and get the low level value back out.
Then again, it might.  :-)


Reply via email to