use strict;
use warnings;
print "Counting up: " . (1..6) . "\n"; # scalar context (undef)
print "Counting up: " , (1..6) , "\n"; # list context
print "Counting up: @{[1..6]}\n"; # list context, space between each element
my @one_to_six = 1..6;
print "Counting up: " . @one_to_six . "\n"; # scalar context (no. of elts)
print "Counting up: " , @one_to_six , "\n"; # list context