in reply to How do I concatenate a string?

my $foo = "Foo"; my $bar = "Bar"; my $foo .= $bar;
this is incorrect. the third row doesn't need 'my' so it needs to look like:
$foo .= $bar;

Originally posted as a Categorized Answer.