summaryrefslogtreecommitdiff
path: root/pod/perldata.pod
diff options
context:
space:
mode:
authorJohn L. Allen <allen@gateway.grumman.com>1997-02-06 10:07:28 -0500
committerChip Salzenberg <chip@atlantic.net>1997-02-11 07:29:00 +1200
commite05a3a1ec1221028251219a1d04f79135252823c (patch)
treed84ad713cc749bade2a5cdff18b131f801480dcd /pod/perldata.pod
parent6ea29bdc535e6af3948b9817129103dce3d27bba (diff)
downloadperl-e05a3a1ec1221028251219a1d04f79135252823c.tar.gz
return *FH pod patch
p5p-msgid: <9702061507.AA04474@gateway.grumman.com>
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r--pod/perldata.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod
index 407a25204f..1878f4a5fa 100644
--- a/pod/perldata.pod
+++ b/pod/perldata.pod
@@ -539,7 +539,7 @@ This is also a way to create a local filehandle. For example:
my $path = shift;
local *FH; # not my!
open (FH, $path) || return undef;
- return \*FH;
+ return *FH;
}
$fh = newopen('/etc/passwd');