Plain Old Text Documentation in Perl Programming Last Updated : 01 Jun, 2020 Comments Improve Suggest changes Like Article Like Report POD is a markup language used for writing documentation for Perl, Perl programs, and Perl modules. It is simple to use. There are various translators available for converting Pod to different formats such as plain text, HTML, man pages, and more. Pod markup comprises of three kinds of paragraphs : Ordinary Paragraph: For bold, italic, code-style, hyperlinks, and more use formatting code in ordinary graphVerbatim Paragraph: Code block or other text which does not require any special parsing or formatting are implemented using, and these should not be wrapped too.Command Paragraph: A command paragraph is used for chunks of text, usually used as headings or parts of lists. Command paragraphs start with =, followed by an identifier and an arbitrary text To embed Pod (Plain Old Text) documentation in Perl modules and scripts , use embedded documentation in your Perl Code by using following rules: Start your documentation with an empty linePlace a '=head1' command at the beginning Place a '=cut' command at end Note : Perl will ignore the Pod (Plain Old Text) text you entered in the code Example: =head1 SYNOPSIS [GEEKSFORGEEKS]. =cut Following mentioned is a simple example of using embedded documentation inside your Perl code perl #!/usr/bin/perl print "Hello, World\n"; =head1 Hello, World Example This example demonstrate very basic syntax of Perl. =cut print "Hello, geeksforgeeks\n" Output: Hello, World Hello, geeksforgeeks If Pod is put at the end of the file, and you are using an __END__ or __DATA__ cut mark, then make sure that you put an empty line before the first Pod command, otherwise without an empty line before the =head1, many translators will not recognize the =head1 as starting a Pod block. Perl #!/usr/bin/perl print "Hello, World\n"; while(<DATA>) { print $_; } __END__ =head1 Hello, World Example This example demonstrate very basic syntax of Perl. print "Hello, geeksforgeeks\n"; Output: Hello, World =head1 Hello, World Example This example demonstrate very basic syntax of Perl. print "Hello, geeksforgeeks\n"; Comment More infoAdvertise with us Next Article Plain Old Text Documentation in Perl Programming K kaurbal1698 Follow Improve Article Tags : Perl Similar Reads Learn Free Programming Languages In this rapidly growing world, programming languages are also rapidly expanding, and it is very hard to determine the exact number of programming languages. Programming languages are an essential part of software development because they create a communication bridge between humans and computers. No 9 min read Perl Programming Language Perl is a general purpose, high level interpreted and dynamic programming language. Perl supports both the procedural and Object-Oriented programming. Perl is a lot similar to C syntactically and is easy for the users who have knowledge of C, C++. Since Perl is a lot similar to other widely used lan 3 min read Perl | Regex Cheat Sheet Regex or Regular Expressions are an important part of Perl Programming. It is used for searching the specified text pattern. In this, set of characters together form the search pattern. It is also known as regexp. When user learns regular expression then there might be a need for quick look of those 6 min read Perl | split() Function split() is a string function in Perl which is used to split or you can say to cut a string into smaller sections or pieces. There are different criteria to split a string, like on a single character, a regular expression(pattern), a group of characters or on undefined value etc.. The best thing abou 8 min read Perl Tutorial - Learn Perl With Examples How to Run a Perl Program? Let's consider a simple Hello World Program. perl #!/usr/bin/perl # Modules used use strict; use warnings; # Print function print("Hello World\n"); Generally, there are two ways to Run a Perl program- Using Online IDEs: You can use various online IDEs which can b 15+ min read Introduction to Perl Perl is a general-purpose, high level interpreted and dynamic programming language. It was developed by Larry Wall, in 1987. There is no official Full form of the Perl, but still, the most used expansion is "Practical Extraction and Reporting Language". Some of the programmers also refer Perl as the 9 min read Perl | Polymorphism in OOPs Polymorphism is the ability of any data to be processed in more than one form. The word itself indicates the meaning as poly means many and morphism means types. Polymorphism is one of the most important concepts of object-oriented programming languages. The most common use of polymorphism in object 4 min read Perl | Loops (for, foreach, while, do...while, until, Nested loops) Looping in programming languages is a feature which facilitates the execution of a set of instructions or functions repeatedly while some condition evaluates to true. Loops make the programmers task simpler. Perl provides the different types of loop to handle the condition based situation in the pro 7 min read Perl | Arrays In Perl, array is a special type of variable. The array is used to store the list of values and each object of the list is termed as an element. Elements can either be a number, string, or any type of scalar data including another variable. Example: @number = (50, 70, 46); @names = ("Geeks", "For", 6 min read Perl | substr() function substr() in Perl returns a substring out of the string passed to the function starting from a given index up to the length specified. This function by default returns the remaining part of the string starting from the given index if the length is not specified. A replacement string can also be passe 2 min read Like