|Perl Monk, Perl Meditation|
Re: Question about concatenationby LanX (Canon)
|on Dec 23, 2012 at 20:21 UTC||Need Help??|
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.
print "Counting up: " . join ( "", 1..6 ) . "\n";