$concat = $a.$b $concat = "$a$b" $concat = join '', $a, $b; $concat = sprintf("%s%s",$a,$b); # silly $concat =~ s/.*/$a$b/s; # sillier!