in reply to simply appending to a scalar...

$x = $x . $y can be written as $x .= $y, and yes, that's the "best" way to append to a scalar.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart