Lesson 1 of 15

Hello, Perl!

Your First Perl Program

In Perl, print outputs text to the screen. You need to add \n for a newline:

print "Hello, World!\n";

The say function works like print but automatically adds a newline:

say "Hello, World!";

Every statement in Perl ends with a semicolon ;.

Comments

# This is a comment

Your Task

Print exactly Hello, Perl! using say.

JS Transpiler loading...
Loading...
Click "Run" to execute your code.