diff options
author | Jason McIntosh <jmac@jmac.org> | 2020-04-14 22:32:36 -0400 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-04-28 11:05:34 -0600 |
commit | 55f2d6523a312579148df060b8c2ed9ccd35e246 (patch) | |
tree | 30ad090236908b72f14b5ac2cc86ab9d5dc7420c | |
parent | 02b976f106c6beb535c25938eb20c5744b72b5ff (diff) | |
download | perl-55f2d6523a312579148df060b8c2ed9ccd35e246.tar.gz |
Clarifying that it's OK to work with bareword filehandle names if they're built-ins filehandles.
-rw-r--r-- | pod/perlfunc.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 5354d13a63..cb7cb5de13 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4845,7 +4845,7 @@ An older style is to use a bareword as the filehandle, as Then you can use C<FH> as the filehandle, in C<< close FH >> and C<< <FH> >> and so on. Note that it's a global variable, so this form is -not recommended in new code. +not recommended when dealing with filehandles other than Perl's built-in ones (e.g. STDOUT and STDIN). =back |