# New Ticket Created by  Zefram 
# Please include the string:  [perl #128931]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128931 >


> ({ my class Aa {} }(), { my class Aa {} }()).map({ ($_.WHICH, $_.WHERE) })
((Aa 47040393861144) (Aa 47040393995944))

I've constructed two different classes here, each locally named "Aa".
The .WHERE values confirm that they're physically distinct objects, and
they're also shown to be distinct by ===.  But .WHICH yields identical
strings for them, erroneously indicating that they're identical.

-zefram

Reply via email to