=head1 NAME
-perlfaq - frequently asked questions about Perl ($Date: 2003/01/31 17:37:17 $)
+perlfaq - frequently asked questions about Perl ($Date: 2005/11/10 00:36:18 $)
=head1 DESCRIPTION
=head1 Author and Copyright Information
-Copyright (c) 1997-2003 Tom Christiansen, Nathan Torkington, and
+Copyright (c) 1997-2005 Tom Christiansen, Nathan Torkington, and
other contributors noted in the answers.
All rights reserved.
=head1 The Questions
+
=head2 L<perlfaq1>: General Questions About Perl
Very general, high-level questions about Perl.
=item *
-What are perl4 and perl5?
+What are perl4, perl5, or perl6?
+
+=item *
+
+What is Ponie?
=item *
=head2 L<perlfaq2>: Obtaining and Learning about Perl
-Where to find source and documentation for Perl, support,
-and related matters.
+Where to find source and documentation for Perl, support, and related matters.
=over 4
=item *
-What machines support Perl? Where do I get it?
+What machines support perl? Where do I get it?
=item *
-How can I get a binary version of Perl?
+How can I get a binary version of perl?
=item *
-I don't have a C compiler on my system. How can I compile perl?
+I don't have a C compiler. How can I build my own Perl interpreter?
=item *
-I copied the Perl binary from one machine to another, but scripts don't work.
+I copied the perl binary from one machine to another, but scripts don't work.
=item *
=item *
-Where can I buy a commercial version of Perl?
+Where can I buy a commercial version of perl?
=item *
=item *
-How can I generate simple menus without using CGI or Tk?
-
-=item *
-
How can I make my Perl program run faster?
=item *
=item *
-Where can I learn about linking C with Perl? [h2xs, xsubpp]
+Where can I learn about linking C with Perl?
=item *
-I've read perlembed, perlguts, etc., but I can't embed perl in
-my C program; what am I doing wrong?
+I've read perlembed, perlguts, etc., but I can't embed perl in my C program; what am I doing wrong?
=item *
=head2 L<perlfaq4>: Data Manipulation
-Manipulating numbers, dates, strings, arrays, hashes, and
-miscellaneous data issues.
+Manipulating numbers, dates, strings, arrays, hashes, and miscellaneous data issues.
=over 4
=item *
+Why is int() broken?
+
+=item *
+
Why isn't my octal data interpreted correctly?
=item *
=item *
-How do I convert between numeric representations?
+How do I convert between numeric representations/bases/radixes?
=item *
=item *
+How can I copy a file?
+
+=item *
+
How do I make a temporary file name?
=item *
=item *
-Why can't I use "C:\temp\foo" in DOS paths? What doesn't `C:\temp\foo.exe` work?
+Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work?
=item *
=head2 L<perlfaq6>: Regular Expressions
-Pattern matching and 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 are handled with regular expressions, but those answers are found elsewhere in this document (in L<perlfaq9>: "How do I decode or create those %-encodings on the web" and L<perlfaq4>: "How do I determine whether a scalar is a number/whole/integer/float", to be precise).
=over 4
=item *
-What's wrong with using grep or map in a void context?
+What's wrong with using grep in a void context?
=item *
=head2 L<perlfaq7>: General Perl Language Issues
-General Perl language issues that don't clearly fit into any of the
-other sections.
+General Perl language issues that don't clearly fit into any of the other sections.
=over 4
=head2 L<perlfaq8>: System Interaction
-Interprocess communication (IPC), control over the user-interface
-(keyboard, screen and pointing devices).
+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. Read the FAQs and documentation specific to the port of perl to your operating system (eg, L<perlvms>, L<perlplan9>, ...). These should contain more detailed information on the vagaries of your perl.
=over 4
=item *
+How do I tell the difference between errors from the shell and perl?
+
+=item *
+
How do I install a module from CPAN?
=item *
=item *
-How do I add a directory to my include path at runtime?
+How do I add a directory to my include path (@INC) at runtime?
=item *
=item *
-How do I find out my hostname/domainname/IP address?
+How do I find out my hostname, domainname, or IP address?
=item *