1. [ Perl ] Printing lines
We can use the built in variable
$/ to represent the
end or record character. More commonly
we use the escape sequence \n to represent the new line
character
The program prints on two lines as shown.
Hello World