Linux Today: Linux News On Internet Time.

More on LinuxToday Introduction to Perl and CGI: Getting Your First Program to Run

Jan 02, 2000, 16:00 (3 Talkback[s])
(Other stories by Adam Berlinsky-Schine)

WEBINAR: On-demand webcast

How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >

"Writing and Running your first Perl Program.
There are a few things you need to know about Perl before we start programming anything useful. First of all, you need to know that each Perl program you write starts with a line that looks something like this:


"This basically tells the computer that this is a Perl program. That line points the program to the Perl interpreter, the program that makes your Perl program into a program that can be executed. So all you need to know right now is that the first line of your programs are most likely going to be #!/usr/bin/perl. The -w switch is available if you want Perl to warn you of possible errors..."

Complete Story

Related Stories: