summaryrefslogtreecommitdiff
path: root/pod/perldata.pod
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2002-03-04 08:11:20 +0000
committerAbhijit Menon-Sen <ams@wiw.org>2002-03-04 08:11:20 +0000
commitb92795fe87d7d20aecb433c6b82c9fbf9a70017c (patch)
tree00d7761dd633c02a12de023b8056addcfafdd483 /pod/perldata.pod
parent46ca028deb3cc13562ec0bbb4e8c9453fb300ddc (diff)
downloadperl-b92795fe87d7d20aecb433c6b82c9fbf9a70017c.tar.gz
Update perldata fix as suggested by Benjamin Goldberg.
p4raw-id: //depot/perl@14983
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r--pod/perldata.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod
index 842f437df0..8e2e177e33 100644
--- a/pod/perldata.pod
+++ b/pod/perldata.pod
@@ -759,9 +759,9 @@ that must be passed around, as in the following example:
# $f implicitly closed here
}
-Note that if an initialized scalar variable is used instead the
-result is different: C<my $fh='zzz'; open($h, ...)> is equivalent
-to C<open( *{'kkk'}, ...)>.
+Note that if an initialized scalar variable is used instead the
+result is different: C<my $fh='zzz'; open($fh, ...)> is equivalent
+to C<open( *{'zzz'}, ...)>.
C<use strict 'refs'> forbids such practice.
Another way to create anonymous filehandles is with the Symbol