From: Jeffrey Friedl Date: Tue, 19 Jun 2001 11:36:32 +0000 (-0700) Subject: [ID 20010619.005] two typos in pod/perlfunc.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=76e4c2bb1a3111c5c97931a4c70ac9c455cdc1da;p=p5sagit%2Fp5-mst-13.2.git [ID 20010619.005] two typos in pod/perlfunc.pod Message-Id: <200106191836.LAA21471@ventrue.corp.yahoo.com> p4raw-id: //depot/perl@10726 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 8912301..464d7e0 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2820,7 +2820,7 @@ parsimonious of file descriptors. For example: or open(FILEHANDLE, "<&=", $fd) -Note that if perl is using the standard C libaries fdopen() then on many UNIX systems, +Note that if perl is using the standard C libraries fdopen() then on many UNIX systems, fdopen() is known to fail when file descriptors exceed a certain value, typically 255. If you need more file descriptors than that, consider rebuilding Perl to use the C. @@ -5510,7 +5510,7 @@ Does the opposite of a C. Or the opposite of a C, depending on how you look at it. Prepends list to the front of the array, and returns the new number of elements in the array. - unshift(ARGV, '-e') unless $ARGV[0] =~ /^-/; + unshift(@ARGV, '-e') unless $ARGV[0] =~ /^-/; Note the LIST is prepended whole, not one element at a time, so the prepended elements stay in the same order. Use C to do the