Change 14983 by ams@lustre on 2002/03/04 08:11:20
Update perldata fix as suggested by Benjamin Goldberg.
Affected files ...
.... //depot/perl/pod/perldata.pod#41 edit
Differences ...
==== //depot/perl/pod/perldata.pod#41 (text) ====
Index: perl/pod/perldata.pod
--- perl/pod/perldata.pod.~1~ Mon Mar 4 01:15:05 2002
+++ perl/pod/perldata.pod Mon Mar 4 01:15:05 2002
@@ -759,9 +759,9 @@
# $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
End of Patch.