NOTICE: A searchable version of this page is now available in

PERL -- Practical Extraction and Report Language

This web document is a re-organized version of the "perl.1" man page for PERL version 4.
  • SYNOPSIS -- perl [options] filename args
  • Introduction and Hype
  • Starting a Perl Script
  • Options
  • Data Types and Objects
  • Syntax
  • Compound statements
  • Simple statements
  • Expressions (including pre-defined functions and "special" operations)
  • Flow control operations
  • Operators (including File Test operators)
  • Arithmetic functions
  • Conversion functions
  • String functions
  • Array and list functions
  • File operations
  • Directory reading
  • I/O operations
  • Search and modification operations
  • System interaction routines
  • IPC and Networking operations
  • Miscellaneous operations
  • System information
  • Precedence
  • Subroutines
  • Passing By Reference
  • Regular Expressions
  • Formats
  • Interprocess Communication
  • Predefined Names
  • Packages
  • Style
  • Debugging
  • Setuid Scripts
  • Larry Wall <>
  • MS-DOS port by Diomidis Spinellis <>
  • FILES -- /tmp/perl-eXXXXXX temporary file for -e commands.
  • a2p -- awk to perl translator
  • s2p -- sed to perl translator
  • ERRATA AND ADDENDA (to "Programming Perl book)
  • BUGS
  • WWW Notes

    For quicker access, this document is now mirrored in many locations. The primary copy is still maintained at Carnegie-Mellon University.

    By popular demand, I have also produced a single-page version of this document, suitable for printing. I consider it inferior to the original document, and I do not particularly endorse its use. I do request that people not attempt to mirror it.

    Hypertext formatting by Robert Stockton. Comments and criticisms are welcome.