summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Friedl <jfriedl@regex.info>2001-06-19 04:36:32 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-19 17:59:30 +0000
commit76e4c2bb1a3111c5c97931a4c70ac9c455cdc1da (patch)
tree82e86241919f2c15d6224e67280176b0ee4958a1
parent4870b8cdda36a1b698c7fb131f1c51662c718f74 (diff)
downloadperl-76e4c2bb1a3111c5c97931a4c70ac9c455cdc1da.tar.gz
[ID 20010619.005] two typos in pod/perlfunc.pod
Message-Id: <200106191836.LAA21471@ventrue.corp.yahoo.com> p4raw-id: //depot/perl@10726
-rw-r--r--pod/perlfunc.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 89123011ca..464d7e09fd 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<PerlIO>.
@@ -5510,7 +5510,7 @@ Does the opposite of a C<shift>. Or the opposite of a C<push>,
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<reverse> to do the