This page provides a brief table of contents for the rest of the Perl
documentation set. It is meant to be be quickly scanned or grepped
through to locate the proper section you're looking for.
BASIC DOCUMENTATION
perl - Practical Extraction and Report Language
SYNOPSIS
DESCRIPTION
Many usability enhancements, Simplified grammar, Lexical scoping,
Arbitrarily nested data structures, Modularity and reusability,
Object-oriented programming, Embeddable and Extensible, POSIX
compliant, Package constructors and destructors, Multiple simultaneous
DBM implementations, Subroutine definitions may now be autoloaded,
Regular expression enhancements
Functions for SCALARs or strings, Regular expressions and pattern
matching, Numeric functions, Functions for real @ARRAYs, Functions for
list data, Functions for real %HASHes, Input and output functions,
Functions for fixed length data or records, Functions for filehandles,
files, or directories, Keywords related to the control flow of your
perl program, Keywords related to scoping, Miscellaneous functions,
Functions for processes and process groups, Keywords related to perl
modules, Keywords related to classes and object-orientedness, Low-level
socket functions, System V interprocess communication functions,
Fetching user and group info, Fetching network info, Time-related
functions
Language Extensions and Documentation Tools, Development Support,
Operating System Interfaces, Networking, Device Control (modems) and
InterProcess Communication, Data Types and Data Type Utilities,
Database Interfaces, User Interfaces, Interfaces to / Emulations of
Other Programming Languages, File Names, File Systems and File Locking
(see also File Handles), String Processing, Language Text Processing,
Parsing and Searching, Option, Argument, Parameter and Configuration
File Processing, Internationalization and Locale, Authentication,
Security and Encryption, World Wide Web, HTML, HTTP, CGI, MIME, Server
and Daemon Utilities, Archiving and Compression, Images, Pixmap and
Bitmap Manipulation, Drawing and Graphing, Mail and Usenet News,
Control Flow Utilities (callbacks and exceptions etc), File Handle and
Input/Output Stream Utilities, Miscellaneous Modules
Modules: Creation, Use and Abuse
Guidelines for Module Creation
Do similar modules already exist in some form?, Try to design the new
module to be easy to extend and reuse, Some simple style guidelines,
Select what to export, Select a name for the module, Have you got it
right?, README and other Additional Files, A description of the
module/package/extension etc, A copyright notice - see below,
Prerequisites - what else you may need to have, How to build it -
possible changes to Makefile.PL etc, How to install it, Recent changes
in this release, especially incompatibilities, Changes / enhancements
you plan to make in the future, Adding a Copyright Notice, Give the
module a version/issue/release number, How to release and distribute a
module, Take care when changing a released module
Guidelines for Converting Perl 4 Library Scripts into Modules
There is no requirement to convert anything, Consider the implications,
Make the most of the opportunity, The pl2pm utility will get you
started, Adds the standard Module prologue lines, Converts package
specifiers from ` to ::, Converts die(...) to croak(...), Several other
minor changes
Guidelines for Reusing Application Code
Complete applications rarely belong in the Perl Module Library, Many
applications contain some perl code which could be reused, Break-out
the reusable code into one or more separate module files, Take the
opportunity to reconsider and redesign the interfaces, In some cases
the `application' can then be reduced to a small
perlref - Perl references and nested data structures
DESCRIPTION
Symbolic references
Not-so-symbolic references
WARNING
SEE ALSO
perldsc - Perl Data Structures Cookbook
DESCRIPTION
arrays of arrays, hashes of arrays, arrays of hashes, hashes of hashes,
more elaborate constructs, recursive and self-referential data
structures, objects
REFERENCES
COMMON MISTAKES
CAVEAT ON PRECEDENCE
WHY YOU SHOULD ALWAYS use strict
DEBUGGING
CODE EXAMPLES
LISTS OF LISTS
Declaration of a LIST OF LISTS
Generation of a LIST OF LISTS
Access and Printing of a LIST OF LISTS
HASHES OF LISTS
Declaration of a HASH OF LISTS
Generation of a HASH OF LISTS
Access and Printing of a HASH OF LISTS
LISTS OF HASHES
Declaration of a LIST OF HASHES
Generation of a LIST OF HASHES
Access and Printing of a LIST OF HASHES
HASHES OF HASHES
Declaration of a HASH OF HASHES
Generation of a HASH OF HASHES
Access and Printing of a HASH OF HASHES
MORE ELABORATE RECORDS
Declaration of MORE ELABORATE RECORDS
Declaration of a HASH OF COMPLEX RECORDS
Generation of a HASH OF COMPLEX RECORDS
Database Ties
SEE ALSO
AUTHOR
perllol, perlLoL - Manipulating Lists of Lists in Perl
DESCRIPTION
Declaration and Access of Lists of Lists
Growing Your Own
Access and Printing
Slices
SEE ALSO
AUTHOR
perlobj - Perl objects
DESCRIPTION
An Object is Simply a Reference
A Class is Simply a Package
A Method is Simply a Subroutine
Method Invocation
Destructors
WARNING
Summary
Two-Phased Garbage Collection
SEE ALSO
perltie - how to hide an object class in a simple variable
SYNOPSIS
DESCRIPTION
Tying Scalars
TIESCALAR classname, LIST, FETCH this, STORE this, value, DESTROY this
Tying Arrays
TIEARRAY classname, LIST, FETCH this, index, STORE this, index, value,
DESTROY this
h, T, s, n, f, c, c line, <CR>, l min+incr, l min-max, l line, l, -, w
line, l subname, /pattern/, ?pattern?, L, S, t, b line [ condition ], b
subname [ condition ], d line, D, a line command, A, < command, >
command, V package [symbols], X [symbols], ! number, ! -number, H
-number, q or ^D, command, p expr
Customization
Other resources
BUGS
perldiag - various Perl diagnostics
DESCRIPTION
perlform - Perl formats
DESCRIPTION
Format Variables
NOTES
Footers
Accessing Formatting Internals
WARNING
perlipc - Perl interprocess communication (signals, fifos, pipes, safe subprocceses, sockets, and semaphores)
Strategies for storing Callback Context Information
1. Ignore the problem - Allow only 1 callback, 2. Create a sequence of
callbacks - hard wired limit, 3. Use a parameter to map to the Perl
callback
Alternate Stack Manipulation
SEE ALSO
AUTHOR
DATE
perlembed - how to embed perl in your C program
DESCRIPTION
PREAMBLE
Use C from Perl?, Use a UNIX program from Perl?, Use Perl from
Perl?, Use C from C?, Use Perl from C?
ROADMAP
Compiling your C program
Adding a Perl interpreter to your C program
Calling a Perl subroutine from your C program
Evaluating a Perl statement from your C program
Performing Perl pattern matches and substitutions from your C program
MORAL
AUTHOR
perlpod - plain old documentation
DESCRIPTION
Embedding Pods in Perl Modules
SEE ALSO
AUTHOR
perlbook - Perl book information
DESCRIPTION
PRAGMA DOCUMENTATION
diagnostics - Perl compiler pragma to force verbose warning diagnostics
SYNOPSIS
DESCRIPTION
The diagnostics Pragma
The splain Program
EXAMPLES
INTERNALS
BUGS
AUTHOR
integer - Perl pragma to compute arithmetic in integer instead of double
SYNOPSIS
DESCRIPTION
less - perl pragma to request less of something from the compiler
SYNOPSIS
DESCRIPTION
lib - manipulate @INC at compile time
SYNOPSIS
DESCRIPTION
ADDING DIRECTORIES TO @INC
DELETING DIRECTORIES FROM @INC
RESTORING ORIGINAL @INC
SEE ALSO
AUTHOR
overload - Package for overloading perl operations
SYNOPSIS
CAVEAT SCRIPTOR
DESCRIPTION
Declaration of overloaded functions
Calling Conventions for Binary Operations
FALSE, TRUE, undef
Calling Conventions for Unary Operations
Overloadable Operations
Arithmetic operations, Comparison operations, Bit operations,
Increment and decrement, Transcendental functions, Boolean,
string and numeric conversion, Special
SPECIAL SYMBOLS FOR use overload
Last Resort
Fallback
undef, TRUE, defined, but FALSE
Copy Constructor
Example
MAGIC AUTOGENERATION
Assignment forms of arithmetic operations, Conversion operations,
Increment and decrement, abs($a), Unary minus,
Concatenation, Comparison operations, Copy operator