Perl Basics

A scalar variable starts with $. strict and warnings catch common mistakes. print writes the interpolated string.

Perl
use strict;
use warnings;
my $name = "Ada";
print "Hello, $name\n";
Read the full lesson