http://www.perlmonks.org?node_id=1026452


in reply to What does ".=" mean?

. is for string concatenation (see Additive operators), = is an assignment operator.

my $messageText = "This is some text\n"; $messageText .= "Add more text here\n";

Is the same as:

my $messageText = "This is some text\n"; $messageText = $messageText . "Add more text here\n";

Update: added brackets to link, fixed typo