Next:
Contents
Up:
Course Information
Contents
Practical Perl Programming
Universität Potsdam, Institut für Linguistik
Wintersemester 2004-2005
Bryan Jurish
moocow@ling.uni-potsdam.de
Contents
Course Syllabus
Administrivia
Prerequisites
New Versions of This Document
Questions
Grading Policies
Blocks
Problems
Points
Deadlines
Revisions
Platforms
Delivery
Format
Collective Work
Acquiring Perl
Perl Resources
Shameless Plugs
Copying
FAQs and Factoids
Uses of Perl
The Mollusc of Your Choice
The Very Basics: hello.perl
Running perl
Compiling
vs.
Interpreting
Program Elements
Scalars: hello-name
Scalar Variables
Program Elements
Lists and Arrays: hello-folks
Lists and Arrays
Basic Array Operations
Program Elements
Black Magic
Hashes: hello-dialect
Hashes and Associative Arrays
Basic Hash Operations
Program Elements
Filehandles: hello-file.perl
Streams and Filehandles
Basic Filehandle Operations
Program Elements
Subroutines: hello-sub
Subroutines and Other Animals
Program Elements
The Gory Details
Perl Syntax
Comments and Whitespace
Terms and Values
Expressions
Statements
Blocks
Declarations
Control Structures
Perl Datatypes
Scalars
Context
Lists and Arrays
Hashes
Subs and Code
Typeglobs and Filehandles
Regular Expression Patterns
References
Perl Control Structures
Conditionals
Loops
Jumps
Subroutines
Declarators and Scope
Errors and Warnings
Dynamic Evaluation
External Code
Perl I/O
Filehandles
Files
Pipes
IO::File
Sockets
Perl Regular Expressions
Friends and Relations
Common Uses
Single-Character Patterns
Multi-Character Patterns
Grouping Patterns
Matching Miscellany
Perl References
What is a Reference?
Why References?
Symbolic References
Hard References
Reference Counts and Memory Management
Stringification
Perl Modules
etc.
What's it All About?
Packages
Modules
Objects
Miscellaneous Bits
Efficiency
Time Efficiency
Space Efficiency
Programmer Efficiency
Maintainer Efficiency
Porter Efficiency
User Efficiency
Coding With Style
Indentation
Blank Lines
Comments
When Things Go Wrong
Grokking the Diagnostics
Common Warnings
Perl Errors
The Perl Debugger
A Brief Review of Set Theory
A Brief Review of Tree Domains
Bibliography
About this document ...
Bryan Jurish
Wed Mar 9 01:22:21 CET 2005