This note provides a brief
introduction to the language for students who want to add Perl to their toolbox.
It assumes familiarity with the fundamental elements of computer programming,
but no prior experience with Perl or any other particular language is necessary.
Topics covered includes: Data types, Variables, Sigils, Defined-ness, Truth,
Control flow, Advanced iteration, Functions, Regular expressions, Using modules
and objects, Tied variables, Perl CGI and Perl DBI.
This note explains
the following topics: Interpreter vs. Compiler, Perl different from other
languages, Variables, Scalar Data, Arrays and Lists, Control Structures, Hashes,
Regular Expressions, Functions, Interacting with the Operating System, A few
Perl is an immensely popular
scripting language that combines the best features of C, key UNIX utilities and
a powerful use of regular expressions. This book promotes the use of Perl as a
programming language, encouraging the creation of legible and sensible programs
so as to dispel the image of Perl as a confusing and obscure language.
This note covers the following topics: the basics, arrays, program
arguments and conditionals,, reading and writing to files, more loops and some
math in perl, subroutines,, hashes associative arrays, string manipulation, more
regular expressions, file and directory manipulation, time and perl modules,
system commands, network modules, programming techniques and review.