Perl Programming

11/14/97


Click here to start


Table of Contents

Perl Programming

About the lecturer

About the course

Contents of the course - 1

Contents of the course - 2

Part I. Introduction to Perl

Why Perl?

Characteristics of Perl

A Simple Program (hello_world.pl)

String Matching

Data Types: constants and variables

Perl idiosyncrasies

Operators

Functions

Some interesting functions

Statements

Other Perl features

Modules - Intro (1)

Modules - Intro (2)

Modules - Constructors and Destructors

Creating Modules

Sample Module (1)

Sample Module (2)

Sample Module (3)

Module Use (1)

Module Use (2)

Module Use (3)

Module Use (4)

Examples 1-2

Examples 3-4

Examples 5-6

Examples 7-8

Examples 9-10

Examples 11-12

Examples 13-14

Examples 15-16

Examples 17-18

Examples 19-20

Examples 21-22

Examples 23-26

Examples 27-28

Examples 29-30

Examples 31-32

Example 33

Example 34

Example 35

Example 36

Examples 37-38

Example 39

Examples 40-41

Examples 42-43

Examples 44-45

Examples 46-47

Examples 48-49

Examples 50-51

Examples 52-53

Examples 54-55

Examples 56-57

Examples 58-59

Example 60 (top)

Example 60 (bottom)

Examples 61-62

Example 63

Example 64

Example 65 (top)

Example 65 (bottom)

Part II. CGI Programming

Example

Sample CGI Code

Source Code Using CGI.pm

Part III. Advanced Topics

Accessing relational databases

Embedding Perl in C (1)

Embedding Perl in C (2)

Embedding Perl in C (3)

Embedding Perl in C (4)

Embedding Perl in C (5)

Embedding C in Perl (RPC.xs -1)

Embedding C in Perl (RPC.xs -2)

Embedding C in Perl (typemap)

Embedding C in Perl (RPC.pm)

Embedding C in Perl (rpctest.pl)

TCP/IP Programming (client)

TCP/IP Programming (server - 1)

TCP/IP Programming (server - 2)

TCP/IP Programming (server - 3)

TCP/IP Programming (server - 4)

Web Robot (poacher - 1)

Web Robot (poacher - 2)

Web Robot (poacher - 3)

Web Robot (poacher - 4)

Web Robot (poacher - 5)

Web Robot (poacher - 6)

Web Robot (poacher - 7)

Web Robot (poacher - 8)

Web Robot (poacher - 9)

Web Robot (poacher - 10)

Web Robot (poacher - 11)

Generating graphics

Part IV. A Multi-part Example

Input Text

Demo - Browsing

Demo - Search

Demo - Search

Dmp2html.pl (top)

Dmp2html.pl (bottom)

Webcopy.pl (top)

Webcopy.pl (bottom)

Msql commands

Dmp2msql.pl (top)

Dmp2msql.pl (bottom)

Bot format

Dmp2bot.pl

Msql2dmp.pl

Create-index.pl (top)

Create-index.pl (bottom)

Search-index.cgi (part 1)

Search-index.cgi (part 2)

Search-index.cgi (part 3)

Search-index.cgi (part 4)

Search-index.cgi (part 5)

Acknowledgments

More Acknowledgments

Even More Acknowledgments

Book References

Web Sites

Author: Dragomir Radev

Email: radev@cs.columbia.edu

Home Page: http://www.cs.columbia.edu/~radev

Download presentation source