Mega Code Archive

 
Categories / Perl / Language Basics
 

Printing String Literals

#!/usr/bin/perl print "***\tIn double quotes\t***\n";     # Backslash interpretation print '%%%\t\tIn single quotes\t\t%%%\n'; # All characters are printed as literals print "\n";