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


> (3, Nil)
(3 Nil)
> List.new(3, Nil)
(3 (Any))

It is possible (as it should be) to put Nil into a List, if it's
constructed using the comma operator.  But constructing it via the
List.new() constructor replaces the Nil with Any.  I think this is a bug
in List.new(): it should accept any argument, including Nil, and put it
into a List.

-zefram

Reply via email to