$perl -e 'print "Hello World\n"'

-e represent perl interpreter at command line while $ is prompt here. Perl file will be saved with dot (. pl) pl extension.

BY Best Interview Question ON 13 Jan 2019