perlfaq - Frequently asked questions about Perl


NAME

perlfaq - Frequently asked questions about Perl


VERSION

version 5.20190126


DESCRIPTION

The perlfaq comprises several documents that answer the most commonly asked questions about Perl and Perl programming. It's divided by topic into nine major sections outlined in this document.

Where to find the perlfaq

The perlfaq is an evolving document. Read the latest version at http://learn.perl.org/faq/. It is also included in the standard Perl distribution.

How to use the perlfaq

The perldoc command line tool is part of the standard Perl distribution. To read the perlfaq:

    $ perldoc perlfaq

To search the perlfaq question headings:

    $ perldoc -q open

How to contribute to the perlfaq

Review https://github.com/perl-doc-cats/perlfaq/wiki. If you don't find your suggestion create an issue or pull request against https://github.com/perl-doc-cats/perlfaq.

Once approved, changes are merged into https://github.com/tpf/perlfaq, the repository which drives http://learn.perl.org/faq/, and they are distributed with the next Perl 5 release.

What if my question isn't answered in the FAQ?

Try the resources in the perlfaq2 manpage.


TABLE OF CONTENTS

perlfaq1 - General Questions About Perl
perlfaq2 - Obtaining and Learning about Perl
perlfaq3 - Programming Tools
perlfaq4 - Data Manipulation
perlfaq5 - Files and Formats
perlfaq6 - Regular Expressions
perlfaq7 - General Perl Language Issues
perlfaq8 - System Interaction
perlfaq9 - Web, Email and Networking


THE QUESTIONS

the perlfaq1 manpage: General Questions About Perl

This section of the FAQ answers very general, high-level questions about Perl.

the perlfaq2 manpage: Obtaining and Learning about Perl

This section of the FAQ answers questions about where to find source and documentation for Perl, support, and related matters.

the perlfaq3 manpage: Programming Tools

This section of the FAQ answers questions related to programmer tools and programming support.

the perlfaq4 manpage: Data Manipulation

This section of the FAQ answers questions related to manipulating numbers, dates, strings, arrays, hashes, and miscellaneous data issues.

the perlfaq5 manpage: Files and Formats

This section deals with I/O and the ``f'' issues: filehandles, flushing, formats, and footers.

the perlfaq6 manpage: Regular Expressions

This section is surprisingly small because the rest of the FAQ is littered with answers involving regular expressions. For example, decoding a URL and checking whether something is a number can be handled with regular expressions, but those answers are found elsewhere in this document (in perlfaq9 : ``How do I decode or create those %-encodings on the web'' and perlfaq4 : ``How do I determine whether a scalar is a number/whole/integer/float'', to be precise).

the perlfaq7 manpage: General Perl Language Issues

This section deals with general Perl language issues that don't clearly fit into any of the other sections.

the perlfaq8 manpage: System Interaction

This section of the Perl FAQ covers questions involving operating system interaction. Topics include interprocess communication (IPC), control over the user-interface (keyboard, screen and pointing devices), and most anything else not related to data manipulation.

the perlfaq9 manpage: Web, Email and Networking

This section deals with questions related to running web sites, sending and receiving email as well as general networking.


CREDITS

Tom Christiansen wrote the original perlfaq then expanded it with the help of Nat Torkington. brian d foy substantially edited and expanded the perlfaq. perlfaq-workers and others have also supplied feedback, patches and corrections over the years.


AUTHOR AND COPYRIGHT

Tom Christiansen wrote the original version of this document. brian d foy <bdfoy@cpan.org> wrote this version. See the individual perlfaq documents for additional copyright information.

This document is available under the same terms as Perl itself. Code examples in all the perlfaq documents are in the public domain. Use them as you see fit (and at your own risk with no warranty from anyone).

 perlfaq - Frequently asked questions about Perl