Mega Code Archive

 
Categories / Perl / String
 

Escape sequences and singledouble quotes

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