in reply to Question about concatenation

the dot . is a scalar operator expecting something convertible to a string.

from perlop: Binary "." concatenates two strings.

print operates on lists and the comma is the necessary list operator to delimit the elements.

try

print "Counting up: " . join ( "", 1..6 ) . "\n";

or

@arr=1..6; print "Counting up: @arr\n";

Cheers Rolf