Perl programming documentation - perldoc.perl.org

Perl Programming Documentation
Download Perl
Explore

Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

Tools

- Preferences

# Perl programming documentation

Perl 5 version 12.2 documentation
Go to top
Show recent pages
Recently read

# Perl 5 version 12.2 documentation

Core documentation for Perl 5 version 12.2, in HTML and PDF formats.

To find out what's new in Perl 5.12.2, read the perldelta manpage.

If you are new to the Perl language, good places to start reading are the introduction and overview at perlintro, and the extensive FAQ section, which provides answers to over 300 common questions.

## What's new?

As you can see, perldoc.perl.org has had a redesign! But it's not just about visuals, almost every aspect of the site has been tweaked and updated, including:

- Improved navigation
  When you scroll down a page, the top navigation bar remains visible at the top of your screen, so the page name, breadcrumb trail, and other links are always available.
- Pop-up index display
  Documentation pages now have a 'Show page index' link in the navigation bar. Clicking this opens a draggable, resizable window with an overview of the page you're reading.
- Improved search
  It's now even easier to find the page you need. For example, just type 'getopt long' into the search box to be taken directly to the Getopt::Long documentation.
- Recently viewed pages
  The right-hand side panel shows the last 10 documentation pages you viewed. As with the search engine, this feature still works if you're using an offline local copy of the site.
- Improved syntax highlighting
  As well as a better highlighting algorithm, code blocks now have line numbers to make it easier to see line breaks.
- Module index links
  View the module indexes with a single click from the left-hand side panel.

## Downloads

The complete documentation set is available to download for offline use.

- Full version (contains HTML and PDF files) - perldoc.tar.gz
- Lite version (contains HTML files only) - perldoc-html.tar.gz

As well as the documentation pages, the perldoc search engine is also included in the above downloads. No installation is required, just unpack the archive and open the index.html file in your web browser.

To obtain Perl itself, please go to http://www.perl.org/get.html.