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


> Set.new(Nil).perl
set(Any)
> set(Nil).perl
set(Any)
> set(Nil).WHICH
Set|Any|U16962232

Attempting to put Nil into a Set instead puts Any into one.  Happens with
both Set.new() and set() constructors.  The .WHICH result shows that
it really is the set construction that mangled the value, not .perl.
There's no reason for Nil not to be a distinguishable value in a set.

-zefram

Reply via email to