---

LinuxMonth: Perl for the Absolute Newbie

[ Thanks to Baiju
Thakkar
for this link. ]

“Perl is a programming language usually associated with the Web
and CGI programs, but is in fact a powerful general-purpose tool
for systems administration, network programming, and a host of
other uses. In this article, I’ll begin a step-by-step tutorial
in Perl, starting with your first Perl program….

“Let’s begin by jumping right into our first Perl program, the
ever-popular ‘Hello World’. The source code for the program looks
like this:

                             #!/usr/bin/perl -w

                             # print our greeting

                             print "Hello World!n";

Type this program into a file called named hello.pl. Make the file
executable using the command chmod +x hello.pl , and run it by
typing ./hello.pl . You should see the message Hello World! appear
on your console.”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis