# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #126336] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126336 >
my $a = [1..3],[4..6]; dd $a; # OUTPUT«Array $a = $[1, 2, 3]» my $a = [1,2],[3,4]; dd $a; # OUTPUT«Array $a = $[1, 2]» # however the following provides a warning: my $a = 1,2; dd $a; # OUTPUT«WARNINGS:Useless use of constant integer 2 in sink context(line 1)Int $a = 1» # Silently dropping literals is at least LTA and may be design small.