Perl is a programming language designed for text processing. It runs on various platforms Windows, Mac OS and various versions of UNIX.
To print a string, you need to observe the following –