Lecture#1 Outline


Intro To Class, Chapter 1 - Introduction

Information about Perl
Perl grew out of some inadequacies of awk by Larry Wall in the mid 1980s.

Perl is good for quick programs which normally deal with some type of processing on strings or text.

Perl is free and can be downloaded from the net. If it's not on your machine already, you can visit www.cpan.org.

Perl doesn't stand for anything.

Perl isn't really compiled...think of it as an interpreted language


Your first Perl program
#!/usr/local/bin/perl
print "Hello, world!\n";

To make it runnable: chmod +x hello.pl
To run it: ./hello.pl

Simple Perl Syntax
# - Comment line, except the first one which is a directive, use -w flag
Each statement ends with a ;


CSC255 - Alan Watkins - North Carolina State University