Find this at http://www.npac.syr.edu/users/gcf/perltutorial97/

Tutorial on PERL

Given by Geoffrey C. Fox,Nancy McCracken,Tom Scavo at Computational Science for Information Age Course CPS616 on Sept 20 97. Foils prepared Sept 20 97

This simple discussion of PERL describes the essential features needed for general-purpose programming
It does not describe the special concerns needed for systems programming but is aimed at what you need for writing CGI programs
We reference in detail the Llama Book: Learning PERL (2nd ed) by Randal L. Schwartz and Tom Christiansen published by O'Reilly and Associates. ISBN: 1-56592-284-0
More detailed is the Camel book: Programming PERL (2nd ed) by Larry Wall, Tom Christiansen, and Randal L. Schwartz, also by O'Reilly. ISBN: 1-56592-149-6
  • This is one of few authoritative Perl5 discussions
Another useful book which lies between the Llama and Camel books in completeness is: PERL by Example by Ellie Quigley, Prentice Hall. ISBN 0-13-122839-0


Table of Contents for Tutorial on PERL


001 Overview of Perl -- Technologies for the Information Age
002 Abstract of PERL Overview
003 General Remarks on PERL I
004 General Remarks on PERL II
005 General Remarks on PERL III
006 Scalar Data I -- Numbers
007 Scalar Data II -- 
    Single-Quoted Strings 
008 Scalar Data III -- 
    Double-Quoted Strings
009 Scalar Variables and Comments
010 Operators for Numbers and Strings I
011 Operators for Numbers and Strings II  -- Comparison
012 Operators for Numbers and Strings III -- 
    Binary Assignment
013 Interpolation of Scalars into Strings
014 Some Simple Scalar I/O Capabilities
015 Logical Operators
016 Arithmetic Operators
017 Bitwise Logical Operators
018 Arrays and Lists of Scalars I
019 Arrays and Lists of Scalars II -- Construction
020 Arrays and Lists of Scalars III -- Construction
021 Arrays and Lists of Scalars IV -- Element Access
022 Arrays and Lists of Scalars V -- Undefined
023 Arrays and Lists of Scalars VI -- Printing
024 Arrays and Lists of Scalars VII -- 
    Operators on Arrays
025 Control Structures -- if,else,unless,elsif
026 Control Structures -- 
    What is true and false?
027 Control Structures -- 
    while,until Statements
028 Control Structures -- for Statement
029 Control Structures -- foreach Statement
030 Hashes -- Definition
031 Hashes -- Examples
032 Hashes -- Storage and Access
033 Hashes -- Operators: keys, values, each
034 Basic Input
035 Basic Output
036 Regular Expressions -- Analogy with grep
037 Regular Expressions -- Patterns
038 Backslash Escapes
039 Predefined Character Classes in Regular Expressions 
040 Repetition in Regular Expressions
041 Anchoring and Alternation in 
    Regular Expressions
042 Parentheses in Regular Expressions
043 Some Regex Examples
044 Matched Variables in 
    Regular Expressions
045 More Regex Examples
046 The Matching Operator and 
    Regular Expressions
047 The Substitution Operator and 
    Regular Expressions
048 More Substitution Examples
049 Split and Join Operators 
050 The index and rindex Functions
051 The substr Function
052 Functions and Subroutines I
053 Functions and Subroutines II
054 Functions and Subroutines III -- 
    local and my
055 Functions and Subroutines IV -- An Example
056 Binary Equality Operators
057 Sorting with Various Criteria
058 The Translation Operator tr
059 Additional Control Flow Constructs I
060 Additional Control Flow Constructs II
    -- Statement Labels
061 Additional Control Flow Constructs III -- Accelerated Tests 
062 Additional Control Flow Constructs IV
063 FileHandles
064 Using FileHandles and Testing Files
065 A Perl "Here" Document
066 Some Special Capabilities in Formatted Writes
067 Globbing
068 Directory Access
069 Execution of UNIX Commands -- system
070 Processing the Environment %ENV
071 Execution of UNIX Commands -- backquotes
072 Execution of UNIX Commands -- 
    Filehandle Mechanism
073 Execution of UNIX Commands -- 
    fork and exec
074 Signals, Interrupt Handlers, kill 
075 The eval Function and Indexed Arrays of Hashes
076 What is CGI.pm?
077 CGI.pm Import Tags
078 CGI.pm Syntax
079 Using CGI.pm - Form Processing
080 Using CGI.pm - Form Generation


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Sep 21 1997