programming-examples/perl/String/Escape sequences and single double quotes.pl

5 lines
158 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
print "This string contains \t\ttwo tabs and a newline.\n"; # Double quotes
print 'This string contains\t\ttwo tabs and a newline.\n; #Single quotes