Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


LinuxMonth: Perl for the Absolute Newbie

Oct 05, 2000, 22:31 (4 Talkback[s])
(Other stories by Jeffrey A. Duffy)

[ 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

Related Stories: