summaryrefslogtreecommitdiff
path: root/pod/perlfaq5.pod
diff options
context:
space:
mode:
authorJohn Tobey <jtobey@john-edwin-tobey.org>1998-11-22 06:25:15 +0200
committerJarkko Hietaniemi <jhi@iki.fi>1998-11-22 12:12:29 +0000
commit368c9434e40b3ef162b100271eb4d6a1dd886bbc (patch)
tree91ad2a4873ad9938669a205ba1a4a6f64aea23c7 /pod/perlfaq5.pod
parent9d9477b1b5a6ab420403942c0942c613290f7911 (diff)
downloadperl-368c9434e40b3ef162b100271eb4d6a1dd886bbc.tar.gz
perlfaq typos
To: perl5-porters@perl.com Message-ID: <MLIST_m0zhPeF-000FOgC@feynman.localnet> p4raw-id: //depot/cfgperl@2266
Diffstat (limited to 'pod/perlfaq5.pod')
-rw-r--r--pod/perlfaq5.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlfaq5.pod b/pod/perlfaq5.pod
index 98e706afad..015c9b4d21 100644
--- a/pod/perlfaq5.pod
+++ b/pod/perlfaq5.pod
@@ -343,8 +343,8 @@ and use it as though it were a normal filehandle.
Then use any of those as you would a normal filehandle. Anywhere that
Perl is expecting a filehandle, an indirect filehandle may be used
instead. An indirect filehandle is just a scalar variable that contains
-a filehandle. Functions like C<print>, C<open>, C<seek>, or the functions or
-the C<E<lt>FHE<gt>> diamond operator will accept either a read filehandle
+a filehandle. Functions like C<print>, C<open>, C<seek>, or
+the C<E<lt>FHE<gt>> diamond operator will accept either a real filehandle
or a scalar variable containing one:
($ifh, $ofh, $efh) = (*STDIN, *STDOUT, *STDERR);
@@ -352,7 +352,7 @@ or a scalar variable containing one:
$got = <$ifh>
print $efh "What was that: $got";
-Of you're passing a filehandle to a function, you can write
+If you're passing a filehandle to a function, you can write
the function in two ways:
sub accept_fh {