The first script you write: printing Hello World to the screen. Separate statements with semi-colons ;. Separate parameters with comma: ,. Print newlines using \n.

Download: mp4 ogv webm

#!/usr/bin/env perl
use strict;
use warnings;

print "Hello world\n";
print 42, "\n";

chmod u+x

See also the getting started article and the one about the sh-bang, she-bang or hashbang.