=head1 NAME
-perlfaq - frequently asked questions about Perl ($Date: 2005/03/27 07:21:21 $)
+perlfaq - frequently asked questions about Perl ($Date: 2005/11/10 00:36:18 $)
=head1 DESCRIPTION
=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 *
-Where can I learn about linking C with Perl? [h2xs, xsubpp]
+Where can I learn about linking C with Perl?
=item *
=item *
-Why is C<int()> broken?
+Why is int() broken?
=item *
=item *
-Does Perl have a C<round()> function? What about C<ceil()> and C<floor()>? Trig functions?
+Does Perl have a round() function? What about ceil() and floor()? Trig functions?
=item *
=item *
-What is the difference between C<$array[1]> and C<@array[1]>?
+What is the difference between $array[1] and @array[1]?
=item *
=item *
-Why does C<defined()> return true on empty arrays and hashes?
+Why does defined() return true on empty arrays and hashes?
=item *
=item *
-How do I reset an C<each()> operation part-way through?
+How do I reset an each() operation part-way through?
=item *
=item *
-How can I set up a footer format to be used with C<write()>?
+How can I set up a footer format to be used with write()?
=item *
-How can I C<write()> into a string?
+How can I write() into a string?
=item *
=item *
-Is there a leak/bug in C<glob()>?
+Is there a leak/bug in glob()?
=item *
=item *
-Why can't I just C<< open(FH, ">file.lock") >>?
+Why can't I just open(FH, "E<gt>file.lock")?
=item *
=item *
-How do I C<dup()> a filehandle in Perl?
+How do I dup() a filehandle in Perl?
=item *
=item *
-Why doesn't C<glob("*.*")> get all the files?
+Why doesn't glob("*.*") get all the files?
=item *
=head2 L<perlfaq6>: 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).
+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 *
-I put a regular expression into C<$/> but it didn't work. What's wrong?
+I put a regular expression into $/ but it didn't work. What's wrong?
=item *
=item *
-Why does using C<$&>, C<$`>, or C<$'> slow my program down?
+Why does using $&, $`, or $' slow my program down?
=item *
=item *
-Why doesn't C<< my($foo) = <FILE>; >> work right?
+Why doesn't "my($foo) = E<lt>FILEE<gt>;" work right?
=item *
=item *
-What's the difference between calling a function as C<&foo> and C<foo()>?
+What's the difference between calling a function as &foo and foo()?
=item *
=item *
-How come C<exec()> doesn't return?
+How come exec() doesn't return?
=item *
=item *
-How can I C<sleep()> or C<alarm()> for under a second?
+How can I sleep() or alarm() for under a second?
=item *
=item *
-How can I do an C<atexit()> or C<setjmp()>/C<longjmp()>? (Exception handling)
+How can I do an atexit() or setjmp()/longjmp()? (Exception handling)
=item *
=item *
-Where do I get the include files to do C<ioctl()> or C<syscall()>?
+Where do I get the include files to do ioctl() or syscall()?
=item *
=item *
-Why can't I get the output of a command with C<system()>?
+Why can't I get the output of a command with system()?
=item *
=item *
-Why doesn't C<open()> return an error when a pipe open fails?
+Why doesn't open() return an error when a pipe open fails?
=item *
=item *
-I {changed directory, modified my environment} in a perl script. How come
-the change disappeared when I exited the script? How do I get my changes
-to be visible?
+I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible?
=item *
=item *
-How do I make a C<system()> exit on control-C?
+How do I make a system() exit on control-C?
=item *
=item *
-How do I add a directory to my include path (C<@INC>) at runtime?
+How do I add a directory to my include path (@INC) at runtime?
=item *
-What is F<socket.ph> and where do I get it?
+What is socket.ph and where do I get it?
=back
=item *
-How do I edit my F<.htpasswd> and F<.htgroup> files with Perl?
+How do I edit my .htpasswd and .htgroup files with Perl?
=item *
=item *
-How do I find out my hostname/domainname/IP address?
+How do I find out my hostname, domainname, or IP address?
=item *