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


More on LinuxToday


dotcomma.org: 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)

"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:

#!/usr/bin/perl"

"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: