Softpanorama
(slightly skeptical) Open Source Software Educational Society

May the source be with you, but remember the KISS principle ;-)

Softpanorama Search

Introduction to Perl for Unix System Administrators

(Perl without excessive complexity)

by Dr Nikolai Bezroukov


Note: This is unpublished copyrighted material. Those notes are  licensed under the Creative Commons Attribution-NoDerivs-NonCommercial License.

Contents

Foreword Why overcomplexity is dangerous and self-defeating

  1. Introduction

    1.1. Introduction

    1.2. The Place of Perl among other scripting languages; good and bad things about Perl

    1. 3. Short history of Perl

    Prehistory -- Unix period

    WEB period

    Future Developments

    1.4. Perl hype

    1.5. Perl Installation

    1.6 Recommended Reading
     

  2. Perl Overview

    2.1. Hello World in Perl

    2.2. Overview of Perl Lexical Structure, Syntax and Operators

    2.3. Perl Variables  

    2.4. Basic Control Structures

    2.5. Typical errors and pitfalls

    2.6. Homework
     

  3. Data Structures

    3.1. String operations

    3.2. Operations on Arrays

    3.3. Operations on Associative Arrays

    3.4. Summary

    3.5. Homework
     

  4. File handling

    4.1. Operations on files

    4.2. Status of the file

    4.3. Here (inline files)  ( <<, _DATA_ and _END_)

    4.4. Perl in Command Line

    4.5. Using record separator

    4.6. Ranges

    4.7. format and printf

    4.8  sprintf
     

  5. Introduction to Regular Expressions

    5.1. Introduction

    5.2. Overview

    5.3. More complex Regular Expressions

    5.4. Non-greedy matching

    5.5. Split function

    5.6 Best practices

    5.7 HTML matching examples

    5.8. Summary

    5.9. Homework
     

  6. Subroutines and Functions
     
  7. References

Part 2

  1. Libraries and Modules
  2. OO
  3. Style and Debugging
  4.  Performance and filesystem reports. Formatting and printing
  5. Networking: FTP, mail and other common protocols
  6. Monitoring
  7. Processing of Unix logs
  8. Processing of Web logs
  9. CGI
  10. DB

 


Copyright © 1996-2009 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Site uses AdSense so you need to be aware of Google privacy policy. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

Disclaimer:

Last modified: Sunday, September 06, 2009