Solution Review: Printing Text
Explore how to print text in Perl by using the print keyword and enclosing your text in quotation marks. Understand the basic syntax needed to display output on the console.
We'll cover the following...
We'll cover the following...
Let’s look at the code before jumping into the explanation:
Explanation
As we can see, this is not a tricky solution. We just need to enclose text in the quotation marks ( " " ) and use print keyword to display text on the console.