This page is designed to help novice programmers learn the Perl programming language. Specifically, it's designed to help them learn enough to run CGI scripts on a Unix Web server. Assumptions are made that: You're reasonably intelligent; You're an experienced computer user, of the Windows (or possibly Mac) persuasion; You know, or are willing to learn elsewhere, the basics of HTML, including things like FORM and TABLE tags; an Internet account that lets you log into a Unix shell session.
This tutorial will walk you through the basics of creating CGIs with Perl on a Unix platform. Unlike other tutorials, this does not assume you know anything about CGIs, Perl, or Unix. At the end of this tutorial you will be able to create Perl programs for counting hits, storing and retrieving guestbook information, and processing secure passwords. You will also gain an understanding of how the Perl programming language works, and you will learn to use variables, IF statements, and loops in Perl.
CGI programming is easy to learn; if you know HTML, you can learn CGI. You don't need any prior programming experience. This class will introduce you to writing Perl CGI scripts, teach you the basics of writing CGI scripts, and walk you through several examples of common CGI programming applications for the Web. Topics include: Perl variables, CGI environment variables, processing forms, advanced forms, reading and writing data files. lso includes source code to all example scripts from the tutorial.
This article will get you started with CGI scripting, the force that makes your forms work, your counters count, and all kinds of other things happen. CGI scripts can be written in a variety of computer languages, but my favorite is Perl, which also just happens to be one of the most used languages for CGI scripting. Topics include: scalars, arrays, and associative arrays; Perl operators; Perl loops and conditionals; turning Perl into CGI; string matching and regular expressions; splitting strings; environmental variables; dealing with input.
This course presumes participants have elementary programming experience in a procedural programming language such as C, Pascal, or Basic; and access to a system with Perl 4 or Perl 5 installed. Topics include: What Is Perl?; Perl References & Resources; State of Perl; Taste of Perl; Storing & Running Perl Programs; The Elements; Literals & Operators; Loops and I/O; Grade Book Example; Pipe I/O and System Calls; Matching; Parsing; Simple CGI; Testing Perl Programs; Common Goofs. Perl is a "Practical Extraction and Report Language".
The very basics. A good reccomendation for first time programmers. Explains how to install PERL scripts and talks about the basics of FTP and how to adjust file permissions which is essential to setting up PERL scripts. Topics include: How to install a basic Perl script on a Web server; how to ftp; the program; the variables; the code; a review; and troubleshooting common errors such as 403 Forbidden, 404 File Not Found, 500 Server Error.
The most frequently asked questions about Perl. This site breaks the FAQ's down into broad categories including: Data Manipulation (manipulating numbers, dates, strings, arrays, hashes, and miscellaneous data issues); Files and Formats (I/O and the "f" issues: filehandles, flushing, formats and footers); General Perl Language Issues; General Questions About Perl; Networking; Obtaining and Learning About Perl; Programming Tools; Regular Expressions (Pattern matching and regular expressions); System Interaction.
A guide to Perl 5 for C/C++, awk, and shell programmers. Topics include: Perl versions; Obtaining Perl binaries, documentation; Command line usage; A prototype Perl script; Control constructs; Variables including scalar types, string or number, null string, operators, lists, arrays, hashes, variable declaration, barewords; Calling functions; Defining functions; Returning values; Optional parameters; Regular expressions; Command line arguments; File I/O; Running external commands; References; Packages, modules, records, and objects in Perl.