use warnings; use strict; my $string = 'this string has five newlines '; print $string; #### >perl t_sq_newlines_1.pl this string has five newlines