Use tabs in print function : Escape « String « Perl






Use tabs in print function

   
print "Hello\tfrom\tPerl.\n";

   
    
    
  








Related examples in the same category

1.Escape character
2.Escape sequences and single/double quotes
3.Escape sequences in strings.
4.Print Escape Sequences
5.Output tab sign
6.\t = tab, \n = newline, \\ = backslash
7.Backslash Escapes in Perl
8.Add new line character to string
9.Text Formatting