Mega Code Archive

 
Categories / Perl / String
 

Backquotes and command substitution

print "The date is ", 'date /T';      print "The date is 'date'", ".\n"; # Backquotes treated literally $directory='cd';                   print "\nThe current directory is $directory.";