print $string . "\n";
print $string, "\n";
####
cout << my_string + "\n"; // Concatenation with newline.
cout << my_string << std::endl; // Stream insertion with standard line ending.
cout << my_string << "\n"; // Stream insertion with newline.
####
print $string . "\n"; # Concatenation with newline.
print $string, $/; # List of items to print, with standard line ending.
print $string, "\n"; # List of items to print, with newline.
# Or more conveniently...
print "$string\n"; # Interpolation of a variable and newline.